Message Templates

List channeltemplates in workspace

get
Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')

Path parameters
workspaceIdstringRequired
projectIdstringRequired
Query parameters
metricsbooleanOptional

Include metrics in the response

Default: false
limitinteger · min: 1 · max: 100Optional

Limits the project of results to return

Default: 10
pageTokenstring · max: 8000Optional

Pagination token that keeps of track of the current position in the list

reversebooleanOptional

Order in which to retrieve the results

Default: false
Responses
200

OK

application/json
get
/workspaces/{workspaceId}/projects/{projectId}/channel-templates

Create channeltemplate

post
Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')

Path parameters
workspaceIdstringRequired
projectIdstringRequired
Query parameters
metricsbooleanOptional

Include metrics in the response

Default: false
Body
descriptionstringOptional
defaultLocaleall ofOptional
string · enumOptionalExample: enPossible values:
shortLinksobject | nullableOptional
Other propertiesanyOptional
Responses
post
/workspaces/{workspaceId}/projects/{projectId}/channel-templates

Get ChannelTemplate

get
Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')

Path parameters
workspaceIdstringRequired
projectIdstringRequired
channelTemplateIdstringRequired
Responses
200

OK

application/json
get
/workspaces/{workspaceId}/projects/{projectId}/channel-templates/{channelTemplateId}

Delete ChannelTemplate

delete
Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')

Path parameters
workspaceIdstringRequired
projectIdstringRequired
channelTemplateIdstringRequired
Responses
delete
/workspaces/{workspaceId}/projects/{projectId}/channel-templates/{channelTemplateId}

No content

Update ChannelTemplate

patch
Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')

Path parameters
workspaceIdstringRequired
projectIdstringRequired
channelTemplateIdstringRequired
Body
defaultLocaleall of | nullableOptional
string · enumOptionalExample: enPossible values:
descriptionstringOptional
forceUpdatebooleanOptional

If true and template is already published, a new template will be created with the new parameters and activated.

statusstring · enum | nullableOptionalPossible values:
Other propertiesanyOptional
Responses
200

Updated

application/json
patch
/workspaces/{workspaceId}/projects/{projectId}/channel-templates/{channelTemplateId}

Activate ChannelTemplate

put
Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')

Path parameters
workspaceIdstringRequired
projectIdstringRequired
channelTemplateIdstringRequired
Responses
200

Activated

No content

put
/workspaces/{workspaceId}/projects/{projectId}/channel-templates/{channelTemplateId}/activate

No content

Deactivate ChannelTemplate

put
Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')

Path parameters
workspaceIdstringRequired
projectIdstringRequired
channelTemplateIdstringRequired
Responses
200

Deactivated

No content

put
/workspaces/{workspaceId}/projects/{projectId}/channel-templates/{channelTemplateId}/deactivate

No content

Create ChannelTemplate Preview

post
Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')

Path parameters
workspaceIdstringRequired
Body
platformstring · min: 1Optional
shortLinksobject | nullableOptional
contactIdstring | nullableOptional
Responses
200

OK

application/json
post
/workspaces/{workspaceId}/projects/channel-templates/create-preview

Last updated

Was this helpful?