Skip to content

TIMIFY Developer API GraphQL Proxy (0.0.4)

HTTP proxy API in front of TIMIFY GraphQL services. Generated from Express routes and route analysis docs.

Download OpenAPI description
Overview
TIMIFY API Team
Languages
Servers
Mock server
https://docs2.timify.com/_mock/apis/openapi
Production
https://api.timify.com
Staging
https://api-stg.timify.com
Local development
http://localhost:3030

Auth

Endpoints from auth routes module.

Operations

Appointments

Endpoints from appointments routes module.

Operations

Availability

Endpoints from availability routes module.

Operations

Booker Services

Endpoints from booker-services routes module.

Operations

Timeshifts

Endpoints from timeshifts routes module.

Operations

Customers

Endpoints from customers routes module.

Operations

Enterprise Customers

Endpoints for enterprise-level customer management.

Operations

Companies

Endpoints from companies routes module.

Operations

Enterprises

Endpoints from enterprises routes module.

Operations

Permissions

Endpoints from permissions routes module.

Operations

Services

Endpoints from services routes module.

Operations

Enterprise Services

Endpoints for enterprise-level service management.

Operations

Group Services

Endpoints from group-services routes module.

Operations

Enterprise Group Services

Endpoints from group-services-enterprise routes module.

Operations

Delete enterprise group service category

Request

The URL parameter "categoryId" can be used in two ways: - use the unique ID of the group 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 group 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 group service with the Developer API endpoints POST /group-services/caetgories and PATCH /group-service/categories/:categoryId

Security
BearerAuth
Path
categoryIdstringrequired

Categoryid path parameter.

Example: 65f4c840b6f1a10012ab34cd
Query
externalboolean

When set to 1, the path ID parameter is treated as an externalId instead of TIMIFY's internal MongoDB ID.

Example: external=true
Headers
company-idstring

Company MongoDB id used in auth context.

Example: 65f4c840b6f1a10012ab34cd
curl -i -X DELETE \
  'https://docs2.timify.com/_mock/apis/openapi/v1/enterprise-group-services/categories/65f4c840b6f1a10012ab34cd?external=true' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'company-id: 65f4c840b6f1a10012ab34cd'

Responses

Confirms deletion of the enterprise group service category and returns the deleted category record.

Bodyapplication/json
dataobject(GenericRecord)

Generic response data object for proxied GraphQL entities.

Example: {"id":"65f4c840b6f1a10012ab34cd","externalId":"ext_1001","name":"Demo value"}
statusinteger

Operation status flag.

Example: 1
Response
application/json
{ "data": { "id": "65f4c840b6f1a10012ab34cd", "externalId": "ext-cat-wellness", "name": "Wellness & Fitness", "description": "All wellness and fitness courses", "orderIndex": 1, "color": "#00AA00", "deletedAt": "2024-03-07T14:22:15Z", "ts": 1709823735 }, "status": 1 }

Fetch enterprise service group category

Request

The URL parameter "categoryId" can be used in two ways: - use the unique ID of the group 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 group 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

Security
BearerAuth
Path
categoryIdstringrequired

Categoryid path parameter.

Example: 65f4c840b6f1a10012ab34cd
Query
externalboolean

When set to 1, the path ID parameter is treated as an externalId instead of TIMIFY's internal MongoDB ID.

Example: external=true
Headers
company-idstring

Company MongoDB id used in auth context.

Example: 65f4c840b6f1a10012ab34cd
curl -i -X GET \
  'https://docs2.timify.com/_mock/apis/openapi/v1/enterprise-group-services/categories/65f4c840b6f1a10012ab34cd?external=true' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'company-id: 65f4c840b6f1a10012ab34cd'

Responses

Returns the specified enterprise group service category with its details.

Bodyapplication/json
dataobject(GenericRecord)

Generic response data object for proxied GraphQL entities.

Example: {"id":"65f4c840b6f1a10012ab34cd","externalId":"ext_1001","name":"Demo value"}
statusinteger

Operation status flag.

Example: 1
Response
application/json
{ "data": { "id": "65f4c840b6f1a10012ab34cd", "externalId": "ext-cat-wellness", "name": "Wellness & Fitness", "description": "All wellness and fitness courses", "orderIndex": 1, "color": "#00AA00", "servicesCount": 5, "createdAt": "2024-01-15T10:30:00Z", "updatedAt": "2024-03-07T14:22:15Z", "ts": 1709823735 }, "status": 1 }

Update enterprise group service category

Request

Update an enterprise group service category.

Security
BearerAuth
Path
categoryIdstringrequired

Categoryid path parameter.

Example: 65f4c840b6f1a10012ab34cd
Query
externalboolean

When set to 1, the path ID parameter is treated as an externalId instead of TIMIFY's internal MongoDB ID.

Example: external=true
Headers
company-idstring

Company MongoDB id used in auth context.

Example: 65f4c840b6f1a10012ab34cd
Bodyapplication/json
affected_branch_idsArray of stringsnon-empty

Affected branch ids.

Example: ["65f4c840b6f1a10012ab34cd"]
affected_branch_external_idsArray of stringsnon-empty

Affected branch external ids.

Example: ["65f4c840b6f1a10012ab34cd"]
namestring

Name.

Example: "example"
external_idstring

External id.

Example: "65f4c840b6f1a10012ab34cd"
curl -i -X PATCH \
  'https://docs2.timify.com/_mock/apis/openapi/v1/enterprise-group-services/categories/65f4c840b6f1a10012ab34cd?external=true' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'company-id: 65f4c840b6f1a10012ab34cd' \
  -d '{
    "affected_branch_ids": [
      "65f4c840b6f1a10012ab34cd"
    ],
    "affected_branch_external_ids": [
      "65f4c840b6f1a10012ab34cd"
    ],
    "name": "example",
    "external_id": "65f4c840b6f1a10012ab34cd"
  }'

Responses

Updates the enterprise group service category and returns the updated category record.

Bodyapplication/json
dataobject(GenericRecord)

Generic response data object for proxied GraphQL entities.

Example: {"id":"65f4c840b6f1a10012ab34cd","externalId":"ext_1001","name":"Demo value"}
statusinteger

Operation status flag.

Example: 1
Response
application/json
{ "data": { "id": "65f4c840b6f1a10012ab34cd", "externalId": "ext-cat-wellness", "name": "Wellness & Fitness Programs", "description": "Comprehensive wellness and fitness courses for all levels", "orderIndex": 2, "color": "#00BB00", "servicesCount": 5, "updatedAt": "2024-03-07T14:22:15Z", "ts": 1709823735 }, "status": 1 }

Resources

Endpoints from resources routes module.

Operations

Enterprise Resource Categories

Endpoints for enterprise-level resource categories.

Operations

Notifications

Endpoints from notifications routes module.

Operations

Files

Endpoints from files routes module.

Operations

ICS

Endpoints from ics routes module.

Operations

Tags

Endpoints from tags routes module.

Operations

Statistics

Endpoints from statistics routes module.

Operations

Transactions

Endpoints from transactions routes module.

Operations

Public

Endpoints from public routes module.

Operations