message-templates

Update Message Template

Use this endpoint to update existing Message Template

put/message-templates/{messageTemplateId}

Request

  • Base URL
    https://api.smartrecruiters.com/message-templates-api
  • URL
    https://api.smartrecruiters.com/message-templates-api/message-templates/{messageTemplateId}
  • Auth
    • API key in header x-smarttoken
    • or OAuth 2
      Authorization code: https://www.smartrecruiters.com/identity/oauth/allow
      Token URL: https://api.smartrecruiters.com/identity/oauth/token scopes: message_templates_write

Path parameters

messageTemplateIdstring required

Request body

Example request

{
  "template": {
    "channelContent": {
      "EMAIL": {
        "subject": "Welcome to SmartRecruiters",
        "content": "Hello, welcome to SmartRecruiters!"
      },
      "SMS_WHATSAPP": {
        "subject": "Welcome to SmartRecruiters",
        "content": "Hello, welcome to SmartRecruiters via SMS!"
      }
    }
  }
}

Response

When message template is updated successfully

Changes

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