List Message Templates
GET/agreements/:agreement_id/recipient_messages/message_templates
Lists all message templates for the agreement
Request
Path Parameters
GET /agreements/:agreement_id/recipient_messages/message_templates parameter
Responses
- 200
- 400
GET /agreements/:agreement_id/recipient_messages/message_templates Successful response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
Possible values: [1.0]
The version of the response schema
Possible values: [list]
A non-paginated list of the recipient message template resource.
Possible values: [recipient_message_template]
Data contains the recipient message template resource.
data object[]required
The unique identifier of the recipient message template
Possible values: [recipient_message_template]
Possible values: [sv-SE, en-US]
UTC datetime ISO string
UTC datetime ISO string
{
  "version": "1.0",
  "result_type": "list",
  "resource_type": "recipient_message_template",
  "data": [
    {
      "id": "cfxinljlxacwrlnwzk2example",
      "template_string": "string",
      "resource_type": "recipient_message_template",
      "locale": "sv-SE",
      "created_at": "2024-01-01T00:00:00.000Z",
      "updated_at": "2024-01-01T00:00:00.000Z"
    }
  ]
}
GET /agreements/:agreement_id/recipient_messages/message_templates Error response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [error]
error objectrequired
Possible values: >= 400 and <= 599
{
  "status": "error",
  "error": {
    "code": 0,
    "message": "string",
    "request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  }
}