v1
latestOpenAPI 3.1.02026-07-24111290748.0 KBIntegrations
Update an integration
put/api/integrations/{id}
Path parameters
idinteger required
The ID of the integration to update.
Request body
Example request
{
"http": {
"id": 987,
"url": "https://company.com/api/customers?email={{ticket.customer.email}}",
"method": "GET",
"headers": {
"x-api-key": "abcdef12345"
},
"form": {
"hello": "world",
"ticket_id": "{{ticket.id}}"
},
"triggers": {
"ticket_created": true,
"ticket_updated": true,
"ticket_message_created": true,
"ticket_self_unsnoozed": true,
"ticket_message_failed": true,
"ticket_assignee_updated": true,
"ticket_status_updated": true,
"ticket_handed_over": true
},
"request_content_type": "application/json",
"response_content_type": "application/json"
},
"name": "My HTTP integration"
}Response
The updated integration.
Example response
{
"id": 123,
"created_datetime": "2021-01-07T13:00:00.123456",
"http": {
"id": 987,
"url": "https://company.com/api/customers?email={{ticket.customer.email}}",
"method": "GET",
"form": {
"hello": "world",
"ticket_id": "{{ticket.id}}"
},
"triggers": {
"ticket_created": true,
"ticket_updated": true,
"ticket_message_created": true,
"ticket_self_unsnoozed": true,
"ticket_message_failed": true,
"ticket_assignee_updated": true,
"ticket_status_updated": true,
"ticket_handed_over": true
},
"request_content_type": "application/json",
"response_content_type": "application/json"
},
"name": "My HTTP integration",
"type": "http",
"updated_datetime": "2021-01-07T13:00:00.123456"
}