Create a ticket

POST/support/tickets

Opens a support ticket on behalf of the specified user. The ticket is owned by that user, but its first message is attributed to the credential that made the request, not to the user.

If user_id or department_id does not reference a resource accessible with the current credentials, the request is rejected with a validation error for that field.

AuthorizationBearer <token>

Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.

In: header

Header Parameters

Idempotency-Key*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/support/tickets" \  -H "Idempotency-Key: string" \  -H "Content-Type: application/json" \  -d '{    "message": {      "text": "string"    },    "subject": "string",    "user_id": "string"  }'
Empty