Menu

Support

Tickets and replies, and contesting a decision.

OperationMethod and path
Open a support ticketPOST /support/tickets
The caller's ticketsGET /support/tickets
Read one of the caller's ticketsGET /support/tickets/{id}
Append a message to one of the caller's ticketsPOST /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.

Credentialan API key holding the permission below, or a session (x-weird-auth: key)
Permissionsupport:write
Chargedno

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 of GET /auth/account/restrictions this ticket contests

Answer 201 (TicketView): the result

  • ticket, object, required
    • unread_count, integer, required
    • user_id, string, required
    • id, string, required
    • email, string
    • last_activity_at, string
    • name, string or null
    • updated_at, string, required
    • message_count, integer, required
    • last_author, string or null
    • title, string, required
    • last_preview, string or null
    • created_at, string, required
    • service, string, required
    • broadcast_id, string or null
  • messages, array of objects, required
    • message, string
    • author, string (one of customer, team)
    • id, string
    • email, string or null
    • name, string or null
    • thread_id, string
    • seen_at, string or null
    • created_at, string
    • replies, array of objects
      • id, string
      • admin_name, string or null — the name the reply is signed with
      • body, string
      • created_at, string
      • seen_at, string or null
    • read_at, string or null

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
400invalid-paramsinvalid-params (a field is wrong: field names it)
401unauthorizedunauthorized
403insufficient-scope, terms-acceptance-requiredinsufficient-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)
404not-foundnot-found (abuse_decision_id names no decision of the account)
429rate-limitedrate-limited
503unavailableunavailable (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.

Credentialan API key holding the permission below, or a session (x-weird-auth: key)
Permissionsupport:read
Chargedno

Parameters

NameInTypeRequiredDescription
cursorquerystringnothe next_cursor of a previous page
limitqueryintegernoan integer page size

Answer 200 (TicketList): the result

  • tickets, array of objects, required
    • unread_count, integer, required
    • user_id, string, required
    • id, string, required
    • email, string
    • last_activity_at, string
    • name, string or null
    • updated_at, string, required
    • message_count, integer, required
    • last_author, string or null
    • title, string, required
    • last_preview, string or null
    • created_at, string, required
    • service, string, required
    • broadcast_id, string or null
  • next_cursor, string or null, required
  • unread_count, integer, required

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
400invalid-paramsinvalid-params (a field is wrong: field names it)
401unauthorizedunauthorized
403insufficient-scope, terms-acceptance-requiredinsufficient-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)
429rate-limitedrate-limited
503unavailableunavailable (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 list

MCP: 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.

Credentialan API key holding the permission below, or a session (x-weird-auth: key)
Permissionsupport:read
Chargedno

Parameters

NameInTypeRequiredDescription
idpathstringyes

Answer 200 (TicketView): the result

  • ticket, object, required
    • unread_count, integer, required
    • user_id, string, required
    • id, string, required
    • email, string
    • last_activity_at, string
    • name, string or null
    • updated_at, string, required
    • message_count, integer, required
    • last_author, string or null
    • title, string, required
    • last_preview, string or null
    • created_at, string, required
    • service, string, required
    • broadcast_id, string or null
  • messages, array of objects, required
    • message, string
    • author, string (one of customer, team)
    • id, string
    • email, string or null
    • name, string or null
    • thread_id, string
    • seen_at, string or null
    • created_at, string
    • replies, array of objects
      • id, string
      • admin_name, string or null — the name the reply is signed with
      • body, string
      • created_at, string
      • seen_at, string or null
    • read_at, string or null

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
401unauthorizedunauthorized
403insufficient-scope, terms-acceptance-requiredinsufficient-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)
404not-foundnot-found
429rate-limitedrate-limited
503unavailableunavailable (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.

Credentialan API key holding the permission below, or a session (x-weird-auth: key)
Permissionsupport:write
Chargedno

Parameters

NameInTypeRequiredDescription
idpathstringyes

Request body (TicketReply):

  • message, string, required (length 1 to 5000)

Answer 200 (TicketView): the result

  • ticket, object, required
    • unread_count, integer, required
    • user_id, string, required
    • id, string, required
    • email, string
    • last_activity_at, string
    • name, string or null
    • updated_at, string, required
    • message_count, integer, required
    • last_author, string or null
    • title, string, required
    • last_preview, string or null
    • created_at, string, required
    • service, string, required
    • broadcast_id, string or null
  • messages, array of objects, required
    • message, string
    • author, string (one of customer, team)
    • id, string
    • email, string or null
    • name, string or null
    • thread_id, string
    • seen_at, string or null
    • created_at, string
    • replies, array of objects
      • id, string
      • admin_name, string or null — the name the reply is signed with
      • body, string
      • created_at, string
      • seen_at, string or null
    • read_at, string or null

Refusals ({"error": {"code", "message"}}; see errors):

StatusCodesWhen
400invalid-paramsinvalid-params (a field is wrong: field names it)
401unauthorizedunauthorized
403insufficient-scope, terms-acceptance-requiredinsufficient-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)
404not-foundnot-found
429rate-limitedrate-limited
503unavailableunavailable (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.