For the complete documentation index, see llms.txt. This page is also available as Markdown.

Wrangle API Documentation

Get Inboxes

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
slackUserIdstringRequired
slackWorkspaceIdstringRequired
Responses
200

Get Inboxes Response

application/json
successstring · enumRequiredPossible values:
get/inboxes

Get Inbox

get

Get an inbox by id.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
inboxIdstringRequired
Query parameters
slackUserIdstringRequired
slackWorkspaceIdstringRequired
Responses
200

Get Inbox

application/json
successstring · enumRequiredPossible values:
get/inboxes/{inboxId}

Update Inbox

put

Update an inbox.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
inboxIdstringRequired
Query parameters
slackUserIdstringRequired
slackWorkspaceIdstringRequired
Body

Update an inbox.

Responses
200

Update Inbox

application/json
successstring · enumRequiredPossible values:
put/inboxes/{inboxId}

Get Tickets

get

Get tickets for an inbox. Query parameters are documented as an object in the Request_GetTickets schema.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
inboxIdstringRequired
Query parameters
slackUserIdstringRequired
slackWorkspaceIdstringRequired
pageinteger · min: 1Optional

Page number for pagination (1-based). Defaults to 1.

Default: 1
pageSizeinteger · min: 1 · max: 200Optional

Number of tickets per page. Maximum 200. Defaults to 200.

Default: 200
Responses
200

Get Tickets

application/json
successstring · enumRequiredPossible values:
get/inboxes/{inboxId}/tickets

Create Ticket

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
slackUserIdstringRequired
slackWorkspaceIdstringRequired
Body
descriptionstringOptional
inboxIdstringRequired
namestringRequired

The name of the ticket.

requesterIdstringRequired

The Slack user ID of the ticket requester. Can be different than the creatorId, for example when an agent creates a ticket on behalf of another user.

prioritystring · enumOptionalPossible values:
tagsstring[]Optional
Responses
200

Create Ticket Response

application/json
successstring · enumRequiredPossible values:
post/tickets

Get Ticket

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
ticketIdstringRequired
Query parameters
slackUserIdstringRequired
slackWorkspaceIdstringRequired
includeRepliesbooleanOptional

When 'true', include the ticket's replies in the response.

Responses
200

Get Ticket Response

application/json
descriptionstringOptional
inboxIdstringRequired
namestringRequired

The name of the ticket.

requesterIdstringRequired
prioritystring · enumOptionalPossible values:
tagsstring[]Optional
assigneeIdstring · nullableOptional

The Slack user ID of the ticket assignee. They must be an agent for this ticket's inbox.

createdAtstringOptional
creatorIdstringOptional
csatScorestring · enumOptional

The customer satisfaction score for the ticket if one exists.

Possible values:
csatReasonstringOptional

The reason for the customer satisfaction score if one exists.

idstring · uuidRequired
slackMessageChannelstringOptional
slackMessageTsstringOptional
slackParentMessageTsstringOptional
slackPermalinkUrlstringOptional

Link to the ticket in Slack.

statusstring · enumRequiredPossible values:
workspaceIdstringOptional
workspaceTicketNumbernumberOptional
get/tickets/{ticketId}

Update Ticket

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
ticketIdstringRequired
Query parameters
slackUserIdstringRequired
slackWorkspaceIdstringRequired
Body
assigneeIdstring · nullableOptional

The Slack user ID of the ticket assignee. They must be an agent for this ticket's inbox. To unassign a ticket, set this to null. If a ticket is assigned, it's status will automatically be set to IN_PROGRESS. If a ticket is unassigned, it's status will automatically be set to NEW.

csatScorestring · enumOptional

The customer satisfaction score for the ticket. Must be a value between 1 and 5. Satisfaction surveys must be enabled for the ticket's inbox.

Possible values:
descriptionstringOptional
inboxIdstringOptional

Move this ticket to a new inbox. Will clear the assignee, status, tags, and other inbox-specific settings.

namestringOptional
prioritystring · enumOptionalPossible values:
statusstring · enumOptionalPossible values:
tagsstring[]Optional
Responses
200

Update Ticket Response

application/json
successstring · enumRequiredPossible values:
put/tickets/{ticketId}

Delete Ticket

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
ticketIdstringRequired
Query parameters
slackUserIdstringRequired
slackWorkspaceIdstringRequired
Responses
200

Delete Ticket Response

application/json
successstring · enumRequiredPossible values:
delete/tickets/{ticketId}

Get Workflows

get

Get active workflows for a workspace.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
slackUserIdstringRequired
slackWorkspaceIdstringRequired
Responses
200

Get Workflows Response

application/json
successstring · enumRequiredPossible values:
get/workflows

Get Workflow

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
workflowIdstringRequired
Query parameters
slackUserIdstringRequired
slackWorkspaceIdstringRequired
Responses
200

Get Workflow Response

application/json
successstring · enumRequiredPossible values:
get/workflows/{workflowId}

Start Workflow

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
workflowIdstringRequired
Query parameters
slackUserIdstringRequired
slackWorkspaceIdstringRequired
Body
requesterIdstringRequired

The Slack user ID of the user starting this workflow instance.

Responses
200

Start a Workflow

application/json
successstring · enumRequiredPossible values:
workflowInstanceIdstring · uuidRequired
post/workflows/{workflowId}/instances

Create Reply

post

Create a reply on a ticket. Anyone who can view the ticket may reply as themselves; attributing the reply to another user (via slackUserId or email) requires admin access, and posting a private reply requires agent or admin access.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
ticketIdstringRequired
Query parameters
slackUserIdstringRequired
slackWorkspaceIdstringRequired
Body
markdownTextstringRequired

The reply body in Slack formatted markdown. Required.

authorSlackUserIdstringOptional

The Slack user ID to attribute the reply to. You must provide either an authorSlackUserId or an authorEmail, not both.

authorEmailstring · emailOptional

The email address of the user to attribute the reply to. This user must exist in your Slack workspace. You must provide either an authorSlackUserId or an authorEmail, not both.

isPrivatebooleanOptional

Post the reply as private (visible only to agents/observers). Requires agent or admin access.

Responses
200

Create Reply Response

application/json
successbooleanRequired
post/tickets/{ticketId}/reply

Last updated

Was this helpful?