curl --request GET \
--url https://api.dock.us/{version}/templates/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"template": {
"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",
"slackChannelEnabled": true,
"messagesEnabled": true,
"stagesEnabled": true
}
}
}Retrieve a template by ID
curl --request GET \
--url https://api.dock.us/{version}/templates/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"template": {
"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",
"slackChannelEnabled": true,
"messagesEnabled": true,
"stagesEnabled": true
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Unique identifier
"RiHO4e0Ju3DS"
Select the template properties that should be returned
name, types, title, slackChannelEnabled, messagesEnabled, stagesEnabled Retrieve a template by ID
Show child attributes
Show child attributes
Id of the object
"RiHO4e0Ju3DS"
Last updated date
"2021-01-01T00:00:00.000Z"
Created at date
"2021-01-01T00:00:00.000Z"
Type of the object
template "template"
URL to the resource
"https://api.dock.us/v1/templates/RiHO4e0Ju3DS"
Name of the template
"Sales Lead"
Types of the template
sales, implementation, renewal, portal, project, internal Title of the template
"Customer Onboarding"
Whether a slack channel is enabled
true
Whether messages are enabled
true
Whether stages are enabled
true