POST /manager/predefined-messages
application/json

Body

  • contents array[object] Required
    Hide contents attributes Show contents attributes object
    • lang string

      Values are en_GB, fr_FR, es_ES, or de_DE.

    • content string

Responses

  • 201 application/json

    returns the created predefined message

    Hide response attributes Show response attributes object
    • id_predefined_message integer
    • contents array
  • 403

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

POST /manager/predefined-messages
curl \
 --request POST 'https://domain.tld/api/v2/manager/predefined-messages' \
 --header "Content-Type: application/json" \
 --data '{"contents":[{"lang":"en_GB","content":"Hello"}]}'
Request examples
{
  "contents": [
    {
      "lang": "en_GB",
      "content": "Hello"
    }
  ]
}
Response examples (201)
{
  "id_predefined_message": 1,
  "contents": []
}