Menu
Update Integration
Update an integration
PUT
/api/integrations/{id}Use it in a workflow
- Add a step and choose the Gorgias connector.
- Pick the Update Integration action (under Integrations).
- Fill in the fields below, then reference the result from later steps as
{{updateIntegration.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"name": "My HTTP integration",
"deactivated_datetime": "2025-01-01T00:00:00Z",
"description": "string",
"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"
}
}
Response
Returns 202 with an object. Read it in later steps with {{updateIntegration.response.data.<field>}}.
{
"name": "My HTTP integration",
"id": 123,
"created_datetime": "2021-01-07T13:00:00.123456",
"deactivated_datetime": "2025-01-01T00:00:00Z",
"description": "string",
"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"
},
"type": "http",
"updated_datetime": "2021-01-07T13:00:00.123456",
"user": {
"id": 0
},
"uri": "string",
"application_id": "string",
"managed": false
}
Need more? See the Gorgias guide for connection setup and behaviour shared by every action.
Was this page helpful?