Sign in

Update integration

documented

Update an integration by ID.

PUT /api/integrations/{id}Integrationsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$domain}}.gorgias.com/api/integrations/{{$id}}" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"name": "{{$name}}", "description": "{{$description}}", "http": {"url": "{{$http_url}}", "method": "{{$http_method}}", "headers": {"Content-Type": "application/json", "X-External-Auth": "{{$http_auth}}"}, "form": {"payload": "{{$http_payload}}"}, "request_content_type": "application/json", "response_content_type": "application/json", "triggers": {"ticket_created": true, "ticket_updated": true, "ticket_message_created": true}}}'