Create Integration
documentedCreate a front-end messaging integration for an app.
POST /v1.1/apps/{appId}/integrationsSunshine Conversationsno 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://api.smooch.io/v1.1/apps/{{$appId}}/integrations" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
--user '{{ZENDESK_API_KEY}}:{{ZENDESK_SECRET}}' \
-d '{"type": "{{$type}}", "displayName": "{{$displayName}}", "config": {"webhookUrl": "{{$webhookUrl}}"}, "credentials": {"token": "{{$token}}", "apiKey": "{{ZENDESK_API_KEY}}", "apiSecret": "{{ZENDESK_SECRET}}"}}'