Atlas
  1. Triggers
Atlas
  • Documentation
    • Dashboard
    • Campaigns
    • Account
    • Knowledge
    • Global Actions
    • Contacts
    • Call Records
    • Agents
    • Campaign Actions and integrations
    • Integrations
      • Integrations
      • Zapier
      • Make
      • Keragon
      • Go High Level
  • API Reference
    • API documentation
    • Authentication
      • Authentication
      • Authorization
      • Token
      • User Info
    • Triggers
      • Subscribe
        GET
      • Unsubscribe
        DELETE
      • Campaigns
        GET
      • PerformList operation
        GET
    • Actions
      • Start a Call
  1. Triggers

Subscribe

GET
https://api.aqx.ai/api/events-gateway/trigger/subscribe
This endpoint is used to subscribe to this event for this specific campaignId.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.aqx.ai/api/events-gateway/trigger/subscribe' \
--header 'Ocp-Apim-Subscription-Key: {{api-key}}' \
--header 'Authorization: Bearer {{user_access_token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "hookUrl": "string",
    "campaignId": "string",
    "triggerName": "string"
}'
Response Response Example
{
  "id": "string",
  "campaignId": "string",
  "triggerName": "string"
}

Request

Header Params
Content-Type
string 
optional
Example:
application/json
Ocp-Apim-Subscription-Key
string 
required
Example:
{{api-key}}
Authorization
string 
required
Example:
Bearer {{user_access_token}}
Body Params application/json
hookUrl
string 
required
hook url
campaignId
string 
required
campaignID GUID
triggerName
string 
required
event name ie (call_started, call_completed)
Examples

Responses

🟢200Success
application/json
Body
id
string 
required
hook url
campaignId
string 
required
campaignID GUID
triggerName
string 
required
event name ie (call_started, call_completed)
Previous
User Info
Next
Unsubscribe
Built with