Work Templates
Last updated
Was this helpful?
Last updated
Was this helpful?
curl -G "https://api.textmaster.com/v1/clients/work_templates" \
-H "Authorization: Bearer a9ff7f5dd9b264f5315dd9bbf75c161f5dde794157a8145cde2856e4b80d9548"
curl -G "https://api.textmaster.com/v1/clients/work_templates/2_paragraphs" \
-H "Authorization: Bearer 1435f72240cb208fac8cecd8d09a341b8f6260bd66d41c0cd890955e3ec9229c"
Search results are limited to 100 items. Specify page number to read more than the first page.
GET /v1/clients/work_templates HTTP/1.1
Host: api.textmaster.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"work_templates": [
{
"name": "1_title_1_paragraph",
"description": null,
"image_preview_path": null,
"ctype": "public"
},
{
"name": "2_paragraphs",
"description": null,
"image_preview_path": null,
"ctype": "public"
}
],
"total_pages": 1,
"count": 1,
"page": 1,
"per_page": 20,
"previous_page": null,
"next_page": null
}
The Work Template name
GET /v1/clients/work_templates/{work_template_name} HTTP/1.1
Host: api.textmaster.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"name": "1_title_1_paragraph",
"description": null,
"image_preview_path": null,
"ctype": "public"
}