message-templates

Create Message Template

Use this endpoint to create new Message Template

post/message-templates

Request

  • Base URL
    https://api.smartrecruiters.com/message-templates-api
  • URL
    https://api.smartrecruiters.com/message-templates-api/message-templates
  • 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

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 created successfully

Changes

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