Messaging

Create Waba Template

Body params:

  1. custom_name - name of the template in Radist.
  2. template_name - name of the template in FB. If not provided, will be auto-generated, based on custom_name.
  3. template_locale - full list available here
  4. category - consult with FB guidelines to choose the right one.
  5. components - list of template components. Only body is required, others are optional. Check out FB reference and our components schema for more details.
  6. examples - if you use variables in your templates (e.g. {{1}} in body, or header with file attached), you must provide examples to avoid template rejection.
post/companies/{company_id}/messaging/templates/waba_templates/

Request

  • Base URL: https://api.radist.online/v2
  • URL: https://api.radist.online/v2/companies/{company_id}/messaging/templates/waba_templates/
  • Auth: one of:
    • API key in header X-Api-Key
    • OAuth 2 (password, token URL https://auth.radist.online/auth/realms/radist/protocol/openid-connect/token)

Path parameters

company_idinteger required

Request body

connection_idinteger required
custom_namestring required
template_namestring nullable
template_localestring required
category'MARKETING' | 'AUTHENTICATION' | 'UTILITY' required

Response

Successful Response

namestring required
localestring required
status'APPROVED' | 'SUBMITTED' | 'REJECTED' | 'UNKNOWN' required
category'MARKETING' | 'AUTHENTICATION' | 'UTILITY' required
created_atstring date-time required
updated_atstring date-time required
rejected_reasonstring required
custom_namestring nullable

Changes

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