v1

latestSwagger 2.02026-08-043765135.6 KB
notifications

Get Templates

Get all existing templates

get/notifications/templates

Query parameters

mockboolean

Return mock data

idstring[]
organizationIdstring uuid

Query by organization UUID

perPageinteger

Query parameter to set the number of results per page

pageAfterstring

Query parameter to set the token for the next page of results

order'asc' | 'desc'

Specify the order of the returned data based on the field specified in "orderBy".

orderBystring

Field by which to order results

Response

Return an array of data responses

Example response

{
  "data": [
    {
      "id": "8858216c-9aeb-404c-8b88-b56bdb9ba6f2",
      "attributes": {
        "organizationId": "67f5943cf991e36b9ad30d74be5c6e2ba040aea5",
        "createdAt": "2018-02-03T10:30:00Z",
        "updatedAt": "2018-02-03T10:30:00Z"
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "bdb88373-bf66-4bfc-a4f8-3a35be5c2f9c"
          }
        }
      }
    }
  ]
}