GET
/
templates
curl --request GET \
  --url https://api.dock.so:4000/{version}/templates \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "templates": [
      {
        "id": "RiHO4e0Ju3DS",
        "updatedAt": "2021-01-01T00:00:00.000Z",
        "createdAt": "2021-01-01T00:00:00.000Z",
        "object": "template",
        "url": "https://api.dock.us/v1/templates/RiHO4e0Ju3DS",
        "name": "Sales Lead",
        "types": [
          "sales"
        ],
        "title": "Customer Onboarding",
        "keyDatesEnabled": true,
        "slackChannelEnabled": true,
        "messagesEnabled": true,
        "stagesEnabled": true
      }
    ],
    "pageInfo": {
      "page": 1,
      "pages": 10,
      "total": 100,
      "pageTotal": 10,
      "hasNextPage": true,
      "hasPrevPage": false
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

properties
enum<string>[]

Select the template properties that should be returned

Available options:
name,
types,
title,
keyDatesEnabled,
slackChannelEnabled,
messagesEnabled,
stagesEnabled
page
integer

Page number

limit
integer

Number of results to return

Response

200
application/json
Retrieve a list of templates
data
object