Retrieve a specific template

Fetch the details of a specific template by providing its unique ID.

GET
/messages/templates/{templateId}
AuthorizationBearer <token>

In: header

Path Parameters

templateId*string

Unique identifier of the template

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://api-testnet.dual.network/messages/templates/string"
{
  "id": "string",
  "name": "string",
  "language": "en",
  "system": "email",
  "action_type": "register",
  "title": "string",
  "project": "string",
  "content": "string",
  "content_type": "text",
  "values": {
    "property1": "string",
    "property2": "string"
  },
  "when_modified": "2019-08-24T14:15:22Z",
  "when_created": "2019-08-24T14:15:22Z"
}
{
  "code": 0,
  "message": "string",
  "details": {}
}
{
  "code": 0,
  "message": "string",
  "details": {}
}
{
  "code": 0,
  "message": "string",
  "details": {}
}