Get Ticket
GET/accounts/:account_id/conversations/:conversation_id/tickets/:ticket_id
Get one ticket of a conversation.
The ticket must belong to the conversation in the path. See List Tickets for what a ticket is.
| Setting | Value |
|---|---|
| Method | GET |
| Path | /api/v1/accounts/{account_id}/conversations/{conversation_id}/tickets/{ticket_id} |
Permissions:
- User token: any agent who can see the conversation — see Who can see a conversation.
- Agent-bot token: not allowed.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
account_id | integer | Yes | Account ID. |
conversation_id | integer | Yes | Conversation display ID. |
ticket_id | integer | Yes | Ticket ID (must belong to this conversation). |
Example request
curl -X GET 'https://online.99digital.co.il/api/v1/accounts/12/conversations/1501/tickets/901' \
-H 'api_access_token: <YOUR_API_ACCESS_TOKEN>'
Example response (200 OK)
{
"id": 901,
"channel_name": "Channel::Api",
"initiated_by": "user",
"resolved_at": "2026-11-12T08:20:00.000Z",
"ticket_status": "closed",
"total_time": 600,
"created_at": "2026-11-12T08:10:00.000Z",
"updated_at": "2026-11-12T08:20:00.004Z",
"account_id": 12,
"contact_id": 801,
"conversation_id": 1501,
"inbox_id": 31,
"resolved_agent_id": 51,
"resolved_by_id": 51,
"custom_attributes": {}
}
Error responses: 404 {"error": "Resource could not be found"}.
Request
Responses
- 200
- 401
- 403
- 404
The ticket.
The access token is missing or wrong, or its user does not belong to this account.
The token's role does not have the permission this endpoint needs, or the endpoint is not open to agent-bot tokens. See Authorization.
The resource does not exist in this account.