Skip to content

Change a ticket's status

PUT
/products/{productId}/tickets/{id}/status
curl --request PUT \
--url https://api.motenya.app/v1/products/example/tickets/example/status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "status": "OPEN", "snoozedUntil": "2026-11-21T09:30:00Z" }'

SNOOZED needs snoozedUntil; snoozing a snoozed ticket again only moves the time.

Requires tickets:write.

productId
required
string
>= 1 characters <= 64 characters
id
required
string
>= 1 characters <= 64 characters
Media typeapplication/json
object
status
required

SOLVED shows as “Resolved”. SNOOZED waits out of the inbox until snoozedUntil or the customer writes; SPAM stays spam when its sender writes again; IGNORED is a silent close left out of reports. Customers see SNOOZED as OPEN, SPAM and IGNORED as CLOSED.

string
Allowed values: OPEN PENDING SOLVED CLOSED SNOOZED SPAM IGNORED
snoozedUntil

Required with SNOOZED: between a minute and a year from now.

string | null
<= 40 characters

Example

2026-11-21T09:30:00Z

Success

Media typeapplication/json
object
id
required
string
>= 1 characters <= 64 characters
productId
required
string
>= 1 characters <= 64 characters
number
required
integer
subject
required
string | null
status
required
string
Allowed values: OPEN PENDING SOLVED CLOSED SNOOZED SPAM IGNORED
snoozedUntil
string | null
priority
required
string
Allowed values: LOW NORMAL HIGH URGENT
source
required
string
Allowed values: EMAIL HELP_CENTER WIDGET CHAT
channelId
required
string | null
requester
required
object
id
required
string
>= 1 characters <= 64 characters
email
required

Null for someone the site signed in to the widget by user id alone: replies reach them in the widget, not by email.

string | null
name
required
string | null
externalUserId

The tenant’s own user id, from the widget’s JWT sign-in.

string | null
contactId
required

The CRM contact; null for a lead.

string | null
>= 1 characters <= 64 characters
storeIds
required
Array<string>
assigneeUserId
required
string | null
tags
required
Array<string>
mergedIntoTicketId
required
string | null
>= 1 characters <= 64 characters
importedFrom

Where an imported ticket came from: intercom:<integration id, lowercase> or api:<source, lowercase>.

string | null
createdAt
required
string
updatedAt
required
string
lastActivityAt
required
string
key
additional properties

Example

{
"status": "OPEN",
"priority": "LOW",
"source": "EMAIL"
}

Invalid request

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
field
string
details
Array<object>
object
code
required
string
message
required
string
field
string

Example

{
"error": {
"code": "SLUG_TAKEN"
}
}

Missing, invalid, revoked or expired API key

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
field
string
details
Array<object>
object
code
required
string
message
required
string
field
string

Example

{
"error": {
"code": "SLUG_TAKEN"
}
}

Missing scope, API turned off, published article without publish scope, or account suspended

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
field
string
details
Array<object>
object
code
required
string
message
required
string
field
string

Example

{
"error": {
"code": "SLUG_TAKEN"
}
}

Not found, or outside the knowledge bases this key may use

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
field
string
details
Array<object>
object
code
required
string
message
required
string
field
string

Example

{
"error": {
"code": "SLUG_TAKEN"
}
}

Slug or translation already exists

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
field
string
details
Array<object>
object
code
required
string
message
required
string
field
string

Example

{
"error": {
"code": "SLUG_TAKEN"
}
}

Rejected by validation (e.g. unknown language or category)

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
field
string
details
Array<object>
object
code
required
string
message
required
string
field
string

Example

{
"error": {
"code": "SLUG_TAKEN"
}
}

Rate limited; see Retry-After

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
field
string
details
Array<object>
object
code
required
string
message
required
string
field
string

Example

{
"error": {
"code": "SLUG_TAKEN"
}
}

Internal error