Get phone template default by event

Get phone template default by event id and specified language code.

get
Path parameters
eventIdstringRequired

The id of the event.

Query parameters
languageCodestringRequired

The code of the language. The language code must be in the ISO 639-1 format.

Header parameters
Brand-URLstringRequired

The brand URL of the request. This is used to identify the brand.

Example: YOUR_BRAND_URL
Auth-KeystringRequired

This is used to authenticate the request. If the request is not authenticated, the server will return a 401 Unauthorized response.

Example: YOUR_AUTH_KEY
Responses
200
The request was successful.
application/json
get
GET /api/v1/events/{eventId}/phone-templates/default HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Auth-Key: text
Accept: */*
{
  "success": true,
  "statusCode": 200,
  "message": "The request was successful.",
  "data": {
    "languageCode": "en-US",
    "content": "{{product_name}} - Your OTP for secure login is {{otp_code}}. Please do not share this OTP with anyone."
  },
  "errors": []
}

Last updated

Was this helpful?