Tickets

Change the customer on a ticket

Assign an existing, unmerged contact in the current workspace to the ticket. The contact must be visible to the caller or have written a message on this ticket. The change is recorded in the ticket activity log and updates its greeting. A ticket the caller cannot access returns 404.

put/tickets/{ticket}/customer

Request

  • Base URL: https://there-there.app/api
  • URL: https://there-there.app/api/tickets/{ticket}/customer
  • Auth: HTTP bearer

Path parameters

ticketstring required

Ticket ULID.

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

contact_ulidstring required

ULID of the customer contact to assign.

Response

Updated ticket

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.