close

Fetch service category

The URL parameter "categoryId" can be used in two ways:

  • use the unique ID of the service category assigned by TIMIFY ("categoryId"). In this case, you don't need the QUERY parameter "external"
  • use the "externalId" that you added to this service category. In this case, you need to add the parameter "external" ( for ex.: /?external=1) so the Developer API will search by your "externalId" and not by "categoryId" assigned by TIMIFY

You can add "externalId" to the service category with the Developer API endpoints POST /services/categories and PATCH /services/categories/:categoryId

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

ID of the service category. You add this in the request URL path.

Query Params
integer
enum

The "external" attribute specifies if the search query will use the external or TIMIFY ID. When "external" is set as 1, "categoryId" is used as the "externalId", alternatively the "categoryId" is the TIMIFY id.

Allowed:
Headers
string
required

Id of the company

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json