Tickets

Create a ticket

post/tickets

Request

  • Base URL: https://there-there.app/api
  • URL: https://there-there.app/api/tickets
  • Auth: HTTP bearer

Headers

X-Workspace-Idinteger

Workspace ID this request targets. Required for tokens that have access to multiple workspaces or to all workspaces. Optional for tokens scoped to a single workspace (auto-resolved). Find the ID under Settings > Account > API Tokens or Settings > Workspace > General.

Request body

channelstring required

Channel ULID.

subjectstring required
tagsstring[]

Tag names to put on the ticket. Matched on the tag name, ignoring casing and surrounding whitespace. A name that matches no tag in the workspace is created, but only for a token belonging to a workspace admin; for anyone else it is a 422. Two names that only differ in punctuation cannot both exist, so asking for one the workspace already occupies is a 422 as well.

Example request

{
  "message": {
    "attachment_ids": [
      "upl_screenshot_8f3c1a"
    ]
  },
  "tags": [
    "Billing"
  ]
}

Response

Ticket created

Example response

{
  "data": {
    "custom_fields": [
      {
        "name": "Reported version",
        "options": [
          {
            "name": "Laravel",
            "color": "#FCA5A5",
            "icon": "flame"
          }
        ]
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.