TextMaster's Developer Documentation
HomeApp
  • Welcome!
  • Quick Start
    • Postman
    • OpenAPI
  • Overview
    • Resources in the REST API
    • Authentication
    • Troubleshooting
    • Filters
    • Workflow
    • File uploads
    • Loop
  • Guides
    • Integrator best practices
  • Apps
    • About OAuth Apps
    • Building OAuth Apps
      • Creating an OAuth App
      • Authorizing OAuth Apps
      • Scopes for OAuth Apps
    • Managing OAuth Apps
      • Modifying an OAuth App
      • Deleting an OAuth App
  • Webhooks & Events
    • Webhooks
      • Creating webhooks
      • Configuring your server for webhooks
      • Securing webhooks
      • Troubleshooting webhooks
    • Events
  • Integrations
    • Akeneo
      • Getting Started
      • Configuration
      • Usage
      • Monitoring
      • Troubleshooting
    • Salesforce Commerce Cloud
      • Getting Started
      • Configuration
      • Usage
      • Monitoring
      • Troubleshooting
  • Reference
    • Abilities
    • Authors
    • Documents
    • Categories
    • Countries
    • Expertises
    • Glossaries
    • Languages
    • Levels
    • Locales
    • Preferred Authors
    • Projects
    • Project Templates
    • Negotiated Contracts
    • Support Messages
    • Transactions
    • Uploads
    • Users
    • Work Templates
Powered by GitBook
On this page

Was this helpful?

  1. Reference

Work Templates

PreviousUsers

Last updated 1 year ago

Was this helpful?

List work templates

OAuth: This endpoint requires the default public scope.

Code samples

curl -G "https://api.textmaster.com/v1/clients/work_templates" \
  -H "Authorization: Bearer a9ff7f5dd9b264f5315dd9bbf75c161f5dde794157a8145cde2856e4b80d9548"

Get a work template

OAuth: This endpoint requires the default public scope.

Code samples

curl -G "https://api.textmaster.com/v1/clients/work_templates/2_paragraphs" \
  -H "Authorization: Bearer 1435f72240cb208fac8cecd8d09a341b8f6260bd66d41c0cd890955e3ec9229c"

List Work Templates

get
Authorizations
Query parameters
pageintegerOptional

Search results are limited to 100 items. Specify page number to read more than the first page.

Responses
200
Lists Work Templates
application/json
401
Unauthorized
application/json
get
GET /v1/clients/work_templates HTTP/1.1
Host: api.textmaster.com
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
}

Retrieve a Work Templates

get
Authorizations
Path parameters
work_template_namestringRequired

The Work Template name

Responses
200
Gets a Work Templates
application/json
401
Unauthorized
application/json
get
GET /v1/clients/work_templates/{work_template_name} HTTP/1.1
Host: api.textmaster.com
Accept: */*
{
  "name": "1_title_1_paragraph",
  "description": null,
  "image_preview_path": null,
  "ctype": "public"
}
  • List work templates
  • GETList Work Templates
  • Get a work template
  • GETRetrieve a Work Templates