POST /chat/messages/{id}/plan-notification

will send an email to the ambassador target

Path parameters

  • id integer Required

    The message id

application/json

Body

  • id_ambassador_target integer Required

Responses

  • 200 application/json

    Return the created notification

    Hide response attribute Show response attribute object
    • message string
  • 403

    Forbidden - You don't have permission to access this route

POST /chat/messages/{id}/plan-notification
curl \
 --request POST 'https://domain.tld/api/v2/chat/messages/{id}/plan-notification' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"id_ambassador_target":5}'
Request examples
{
  "id_ambassador_target": 5
}
Response examples (200)
{
  "message": "Notification planned successfully"
}