Create integration
documentedCreate an integration.
POST /api/integrationsIntegrationsno implementation yet0 runsNo 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" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Basic {{GORGIAS_SECRET}}" \
-d '{"name":"{{$integration_name}}","type":"http","http":{"url":"{{$external_endpoint}}","method":"{{$http_method}}","headers":{"Content-Type":"application/json","Authorization":"Bearer {{$external_token}}"},"request_content_type":"application/json","response_content_type":"application/json","triggers":{"ticket_created":true}}}'