Skip to main content
PATCH

Authorizations

X-YoLead-Key
string
header
required

Public API key generated in the YoLead UI.

X-YoLead-Timestamp
string
header
required

Unix timestamp in milliseconds. Requests must be signed within a 5-minute window.

X-YoLead-Signature
string
header
required

Hex HMAC-SHA256 signature over <timestamp>.<raw_body> using the API secret.

Path Parameters

ticketId
string
required

Ticket id. MongoDB ObjectId represented as a 24-character hexadecimal string.

Pattern: ^[0-9a-fA-F]{24}$
Example:

"64f000000000000000000001"

Body

application/json

Ticket status transition.

status
enum<string>
required
Available options:
active,
inactive
assigneeId
string

Required when activating a new ticket. When reactivating an inactive ticket, it may be omitted or must match the existing assignee. Not allowed when setting status to inactive.

Pattern: ^[0-9a-fA-F]{24}$
Example:

"64f000000000000000000001"

Response

Ticket status changed.

data
object
required