Retrieve an integration
Changed onRequest
- Base URLhttps://your-domain.gorgias.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The ID of the integration to retrieve.
Query parameters
Include all matching Yotpo, Okendo and Judge.me integrations in product_review_provider_integrations. Only supported for Shopify integrations. Store domains must match exactly, without normalization. Non-Shopify integrations and missing, blank or non-string shop domains return 404 when enabled. Enabling both include_review_providers and include_shopify_integration returns 404.
Include the matching Shopify integration in shopify_integration. Only supported for Yotpo, Okendo and Judge.me integrations. Store domains must match exactly, without normalization. Unsupported integrations and missing, blank or non-string store domains return 404 when enabled. Enabling both include_review_providers and include_shopify_integration returns 404.
Response
The requested 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",
"product_review_provider_integrations": [
{
"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"
}
],
"shopify_integration": {
"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"
}
}Changes
- info
added the new optional
queryrequest parameterinclude_review_providers - info
added the new optional
queryrequest parameterinclude_shopify_integration - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info