Get a predefined message by id (manager)

GET /manager/predefined-messages/{id}

Path parameters

  • id integer Required

    The predefined message id

Responses

  • 200 application/json

    returns the predefined message

    Hide response attributes Show response attributes object
    • id_predefined_message integer
    • contents array[object]
      Hide contents attributes Show contents attributes object
      • id_i18n_content integer
      • lang string

        Values are en_GB, fr_FR, es_ES, or de_DE.

      • content string
    • position integer
    • active boolean
  • 401 application/json

    Unauthorized.

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

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

  • 404

    Not found - The predefined message does not exist

GET /manager/predefined-messages/{id}
curl \
 --request GET 'https://domain.tld/api/v2/manager/predefined-messages/{id}'
Response examples (200)
{
  "id_predefined_message": 1,
  "contents": [
    {
      "id_i18n_content": 42,
      "lang": "en_GB",
      "content": "Hello"
    }
  ],
  "position": 1,
  "active": true
}
Response examples (401)
{
  "message": "Unauthorized."
}