Panalk
LanguageEnglish
Download the OpenAPI document

Support

The customer conversations the organisation owns. A support bot can read a thread and reply; the customer receives the reply on the delivery link.

Operations

GET/api/v1/integration/support/ticketsAPI key

Lists the customer support conversations, newest activity first.

Required scopes: support:read

Query parameters

FieldType and limitsRequired
limitinteger, 1 to 100No
offsetinteger, 0 to 9007199254740991No

Responses

  • 200Success
  • 401The API key is missing, unknown, revoked, or expired.
  • 403The key lacks the scope, the source is not allowed, or the plan has no API access.
  • 422A value failed validation; the envelope lists the fields.
  • 429The plan rate limit was exceeded. Retry after the window.
  • defaultAny other failure
GET/api/v1/integration/support/tickets/{ticketId}API key

Returns one customer conversation and its messages.

Required scopes: support:read

Path parameters

FieldType and limitsRequired
ticketIdstring (uuid)Yes

Query parameters

FieldType and limitsRequired
limitinteger, 1 to 100No
offsetinteger, 0 to 9007199254740991No

Responses

  • 200Success
  • 401The API key is missing, unknown, revoked, or expired.
  • 403The key lacks the scope, the source is not allowed, or the plan has no API access.
  • 404That delivery does not exist in this organisation.
  • 422A value failed validation; the envelope lists the fields.
  • 429The plan rate limit was exceeded. Retry after the window.
  • defaultAny other failure
POST/api/v1/integration/support/tickets/{ticketId}/messagesAPI key

Adds a staff reply to an open customer conversation and emails the customer a fresh link.

Required scopes: support:writesupport:read

Path parameters

FieldType and limitsRequired
ticketIdstring (uuid)Yes

Request body

FieldType and limitsRequired
messagestring, 1 to 4000 charactersYes

Responses

  • 201Success
  • 400The request body could not be read.
  • 401The API key is missing, unknown, revoked, or expired.
  • 403The key lacks the scope, the source is not allowed, or the plan has no API access.
  • 404That delivery does not exist in this organisation.
  • 422A value failed validation; the envelope lists the fields.
  • 429The plan rate limit was exceeded. Retry after the window.
  • defaultAny other failure

Example

Request

POST /api/v1/integration/support/tickets/9c2e.../messages
x-api-key: sk-pan-live-0123456789abcdef_YOUR_SECRET
Content-Type: application/json

{ "message": "The driver is ten minutes away." }

Response

{
  "ticket": {
    "id": "9c2e...",
    "subject": "Where is my parcel?",
    "tracking_code": "PNK-7K3M2Q",
    "status": "open",
    "last_message_at": "2026-10-20T08:00:00.000Z",
    "created_at": "2026-10-19T08:00:00.000Z"
  },
  "messages": [
    { "id": "...", "author_type": "tenant", "body": "The driver is ten minutes away.", "created_at": "2026-10-20T08:00:00.000Z" }
  ],
  "next_offset": null
}