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

Unsubscribe

DELETE
https://api.aqx.ai/api/events-gateway/trigger/unsubscribe
This endpoint is used to unsubscribe an event for this specific campaignId
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://api.aqx.ai/api/events-gateway/trigger/unsubscribe' \
--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
{}

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
object {0}
Previous
Subscribe
Next
Campaigns
Built with