POST /api/v2/approval_requests
Creates an approval request for a ticket.
When manual approval requests are turned off for the account, approval requests can still be created through this API. Approval requests created by the API have a Sent by value of API.
Allowed For
- System users (flowstate)
- Agents
Servers
- https://{subdomain}.{domain}.com
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
assignee_group_id |
Integer | No |
The id of the group assigned to review and approve the request |
ticket_id |
Integer | Yes |
The id of the ticket the approval request was added to |
assignee_user_id |
Integer | No |
The id of the user assigned to review and approve the request |
message |
String | Yes |
Details and context for the approval request |
subject |
String | Yes |
Subject line for the approval request |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.