Menu
Support
Tickets and replies, and contesting a decision.
| Operation | Method and path |
|---|---|
| Open a support ticket | POST /support/tickets |
| The caller's tickets | GET /support/tickets |
| Read one of the caller's tickets | GET /support/tickets/{id} |
| Append a message to one of the caller's tickets | POST /support/tickets/{id}/messages |
Open a support ticket#
POST /support/tickets · operation openTicket
The title (1..120 characters), the message (10..5000 characters) and the product it is about (service, general when none). To contest a decision taken on the account after a review, name it in abuse_decision_id (an id of GET /auth/account/restrictions): the ticket is linked to it and the team reviews it again. A ticket cannot be deleted; the team answers in it. Free: support is never charged (no credit charge, whatever the credit charges in force say). This call is not charged.
| Credential | an API key holding the permission below, or a session (x-weird-auth: key) |
| Permission | support:write |
| Charged | no |
Request body (OpenTicket):
title, string, required (length 1 to 120)service, string — the service the ticket is about (default"general")message, string, required (length 10 to 5000)abuse_decision_id, string — optional: the decision ofGET /auth/account/restrictionsthis ticket contests
Answer 201 (TicketView): the result
ticket, object, requiredunread_count, integer, requireduser_id, string, requiredid, string, requiredemail, stringlast_activity_at, stringname, string or nullupdated_at, string, requiredmessage_count, integer, requiredlast_author, string or nulltitle, string, requiredlast_preview, string or nullcreated_at, string, requiredservice, string, requiredbroadcast_id, string or null
messages, array of objects, requiredmessage, stringauthor, string (one ofcustomer,team)id, stringemail, string or nullname, string or nullthread_id, stringseen_at, string or nullcreated_at, stringreplies, array of objectsid, stringadmin_name, string or null — the name the reply is signed withbody, stringcreated_at, stringseen_at, string or null
read_at, string or null
Refusals ({"error": {"code", "message"}}; see errors):
| Status | Codes | When |
|---|---|---|
| 400 | invalid-params | invalid-params (a field is wrong: field names it) |
| 401 | unauthorized | unauthorized |
| 403 | insufficient-scope, terms-acceptance-required | insufficient-scope (an API key without the route's scope: required, granted); terms-acceptance-required (the current terms of service or privacy notice are not accepted yet: required lists them; read them with GET /legal/documents and accept with POST /auth/legal/accept) |
| 404 | not-found | not-found (abuse_decision_id names no decision of the account) |
| 429 | rate-limited | rate-limited |
| 503 | unavailable | unavailable (support tickets cannot be opened now: try again later) |
Example
curl -X POST 'https://api.weird.ro/support/tickets' \
-H "Authorization: Bearer $WEIRD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"title":"<title>","message":"<message>"}'With the CLI (weird support open):
$ weird support open [message|-]MCP: weird_support_open.
The caller's tickets#
GET /support/tickets · operation listTickets
Newest activity first, cursor paginated; unread_count counts the team messages the caller has not seen. Free: support is never charged. This call is not charged.
| Credential | an API key holding the permission below, or a session (x-weird-auth: key) |
| Permission | support:read |
| Charged | no |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
cursor | query | string | no | the next_cursor of a previous page |
limit | query | integer | no | an integer page size |
Answer 200 (TicketList): the result
tickets, array of objects, requiredunread_count, integer, requireduser_id, string, requiredid, string, requiredemail, stringlast_activity_at, stringname, string or nullupdated_at, string, requiredmessage_count, integer, requiredlast_author, string or nulltitle, string, requiredlast_preview, string or nullcreated_at, string, requiredservice, string, requiredbroadcast_id, string or null
next_cursor, string or null, requiredunread_count, integer, required
Refusals ({"error": {"code", "message"}}; see errors):
| Status | Codes | When |
|---|---|---|
| 400 | invalid-params | invalid-params (a field is wrong: field names it) |
| 401 | unauthorized | unauthorized |
| 403 | insufficient-scope, terms-acceptance-required | insufficient-scope (an API key without the route's scope: required, granted); terms-acceptance-required (the current terms of service or privacy notice are not accepted yet: required lists them; read them with GET /legal/documents and accept with POST /auth/legal/accept) |
| 429 | rate-limited | rate-limited |
| 503 | unavailable | unavailable (try again later) |
Example
curl -X GET 'https://api.weird.ro/support/tickets' \
-H "Authorization: Bearer $WEIRD_API_KEY"With the CLI (weird support list):
$ weird support listMCP: weird_support_tickets.
Read one of the caller's tickets#
GET /support/tickets/{id} · operation readTicket
Marks the team's messages seen. 404 for an unknown ticket and for another customer's alike. Free: support is never charged. This call is not charged.
| Credential | an API key holding the permission below, or a session (x-weird-auth: key) |
| Permission | support:read |
| Charged | no |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes |
Answer 200 (TicketView): the result
ticket, object, requiredunread_count, integer, requireduser_id, string, requiredid, string, requiredemail, stringlast_activity_at, stringname, string or nullupdated_at, string, requiredmessage_count, integer, requiredlast_author, string or nulltitle, string, requiredlast_preview, string or nullcreated_at, string, requiredservice, string, requiredbroadcast_id, string or null
messages, array of objects, requiredmessage, stringauthor, string (one ofcustomer,team)id, stringemail, string or nullname, string or nullthread_id, stringseen_at, string or nullcreated_at, stringreplies, array of objectsid, stringadmin_name, string or null — the name the reply is signed withbody, stringcreated_at, stringseen_at, string or null
read_at, string or null
Refusals ({"error": {"code", "message"}}; see errors):
| Status | Codes | When |
|---|---|---|
| 401 | unauthorized | unauthorized |
| 403 | insufficient-scope, terms-acceptance-required | insufficient-scope (an API key without the route's scope: required, granted); terms-acceptance-required (the current terms of service or privacy notice are not accepted yet: required lists them; read them with GET /legal/documents and accept with POST /auth/legal/accept) |
| 404 | not-found | not-found |
| 429 | rate-limited | rate-limited |
| 503 | unavailable | unavailable (try again later) |
Example
curl -X GET 'https://api.weird.ro/support/tickets/{id}' \
-H "Authorization: Bearer $WEIRD_API_KEY"With the CLI (weird support show):
$ weird support show <id>MCP: weird_support_tickets.
Append a message to one of the caller's tickets#
POST /support/tickets/{id}/messages · operation replyTicket
Adds message (1..5000 characters) to the ticket id (GET /support/tickets lists them); the support team is told and answers in the same ticket. A message cannot be edited or taken back. Answers the ticket with its messages. Free: support is never charged. This call is not charged.
| Credential | an API key holding the permission below, or a session (x-weird-auth: key) |
| Permission | support:write |
| Charged | no |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes |
Request body (TicketReply):
message, string, required (length 1 to 5000)
Answer 200 (TicketView): the result
ticket, object, requiredunread_count, integer, requireduser_id, string, requiredid, string, requiredemail, stringlast_activity_at, stringname, string or nullupdated_at, string, requiredmessage_count, integer, requiredlast_author, string or nulltitle, string, requiredlast_preview, string or nullcreated_at, string, requiredservice, string, requiredbroadcast_id, string or null
messages, array of objects, requiredmessage, stringauthor, string (one ofcustomer,team)id, stringemail, string or nullname, string or nullthread_id, stringseen_at, string or nullcreated_at, stringreplies, array of objectsid, stringadmin_name, string or null — the name the reply is signed withbody, stringcreated_at, stringseen_at, string or null
read_at, string or null
Refusals ({"error": {"code", "message"}}; see errors):
| Status | Codes | When |
|---|---|---|
| 400 | invalid-params | invalid-params (a field is wrong: field names it) |
| 401 | unauthorized | unauthorized |
| 403 | insufficient-scope, terms-acceptance-required | insufficient-scope (an API key without the route's scope: required, granted); terms-acceptance-required (the current terms of service or privacy notice are not accepted yet: required lists them; read them with GET /legal/documents and accept with POST /auth/legal/accept) |
| 404 | not-found | not-found |
| 429 | rate-limited | rate-limited |
| 503 | unavailable | unavailable (try again later) |
Example
curl -X POST 'https://api.weird.ro/support/tickets/{id}/messages' \
-H "Authorization: Bearer $WEIRD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"message":"<message>"}'With the CLI (weird support reply):
$ weird support reply <id> [message|-]MCP: weird_support_reply.
This page is generated from the API's public document; it changes when the document does.