Notifications
Notifications

Create Target

post/v1/agents/{agent_id}/notifications

Request

  • Base URL: https://api.call2me.app
  • URL: https://api.call2me.app/v1/agents/{agent_id}/notifications
  • Auth: HTTP bearer

Path parameters

agent_idstring required

Request body

channel'whatsapp' | 'sms' | 'email' | 'custom_url' required
destinationstring nullable
recipient_kind'owner' | 'caller' | 'fixed' | 'team'
trigger_event'call_ended' | 'chat_ended'
conditionobject
templatestring nullable
template_varsobject
activeboolean

Response

Successful Response

target_idstring required
agent_idstring required
user_idstring required
trigger_event'call_ended' | 'chat_ended'
channel'whatsapp' | 'sms' | 'email' | 'custom_url' required
destinationstring nullable
recipient_kind'owner' | 'caller' | 'fixed' | 'team'
conditionobject
templatestring nullable
template_varsobject
activeboolean
created_atstring date-time nullable
updated_atstring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.