POST https://xquik.com/api/v1/support/tickets
When to open a new ticket
Use this route to open a new conversation with support. Send JSON for text-only tickets and multipart data for attachments. Use reply only after the response provides a ticket ID.Free. This endpoint does not consume credits.
multipart/form-data when attaching media.Headers
Body
For a media-only ticket, omit
body and include at least 1 attachment.cURL With Media
Response
201 Created
200 Replayed
Returns the original response after a safe retry. TheIdempotency-Replayed response header is true.400 Invalid input
Missing or invalidsubject or body field.401 Unauthenticated
Missing or invalid API key.409 Conflict
TheIdempotency-Key already belongs to different text or attachments. Generate a new key for the changed request.429 Rate limited
Wait for theRetry-After value before opening another ticket.Next steps. Support Media explains privacy, formats, limits, status handling, and downloads.
Response examples
200 example
- 400
{ "error": "invalid_input", "message": "Invalid input. Check the request body." } - 401
{ "error": "unauthenticated", "message": "Authentication required. Provide a valid API key or bearer token." } - 403
{ "error": "api_key_paused", "message": "This API key is paused. Resume it at dashboard.xquik.com/api-keys to use it again." } - 409
{ "error": "idempotency_key_conflict", "message": "Reuse this Idempotency-Key only with the original request." } - 429
{ "error": "rate_limit_exceeded", "message": "Too many requests. Try again later.", "retryAfter": 60 }