Notifications
Notifications

Update Target

patch/v1/notifications/{target_id}

Request

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

Path parameters

target_idstring required

Request body

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

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.