Categories

List categories

Public endpoint to list all available categories supported by TextMaster.

List Categories

GEThttps://api.textmaster.com/v1/public/categories
Response

Lists categories

Body
categoriesarray of Category (object)
Request
const response = await fetch('https://api.textmaster.com/v1/public/categories', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "categories": [
    {
      "code": "C001",
      "value": "text"
    }
  ]
}

Code samples

curl "https://api.textmaster.com/v1/public/categories"

Last updated