HTTP proxy API in front of TIMIFY GraphQL services. Generated from Express routes and route analysis docs.
- Delete enterprise customer
List enterprise customers
Create enterprise customer
List enterprise custom fields
Create enterprise custom field
List enterprise custom field categories
Create enterprise custom fields category
Delete enterprise custom fields category
Fetch enterprise custom field category
Update enterprise custom fields category
Delete enterprise custom field
Fetch enterprise customer field
Update enterprise custom field
Post import
Fetch enterprise customer
Update enterprise customer
List customer events
Delete enterprise custome...
TIMIFY Developer API GraphQL Proxy (0.0.4)
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
- Mock serverhttps://docs2.timify.com/_mock/apis/openapi/v1/enterprise-customers/import
- Productionhttps://api.timify.com/v1/enterprise-customers/import
- Staginghttps://api-stg.timify.com/v1/enterprise-customers/import
- Local developmenthttp://localhost:3030/v1/enterprise-customers/import
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs2.timify.com/_mock/apis/openapi/v1/enterprise-customers/import \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'company-id: 65f4c840b6f1a10012ab34cd' \
-d '{
"customers": "example",
"url": "https://example.com",
"secret": "example",
"chunk_size": "example",
"affected_branch_ids": [
"65f4c840b6f1a10012ab34cd"
],
"affected_branch_external_ids": [
"65f4c840b6f1a10012ab34cd"
]
}'Response
application/json
{ "data": { "id": "65f4c840b6f1a10012ab34cd", "externalId": "ext_1001", "firstName": "John", "lastName": "Doe", "fullName": "John Doe", "email": "john@example.com", "phone": { … }, "tags": [ … ], "totalBookings": 5, "avatarUrl": "https://example.com/avatar.jpg", "firstLetters": "JD", "createdAt": "2024-01-15T10:30:00Z", "updatedAt": "2024-02-20T14:45:30Z", "ts": 1708430730 }, "status": 1 }
- Mock serverhttps://docs2.timify.com/_mock/apis/openapi/v1/enterprise-customers/{customerId}
- Productionhttps://api.timify.com/v1/enterprise-customers/{customerId}
- Staginghttps://api-stg.timify.com/v1/enterprise-customers/{customerId}
- Local developmenthttp://localhost:3030/v1/enterprise-customers/{customerId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs2.timify.com/_mock/apis/openapi/v1/enterprise-customers/65f4c840b6f1a10012ab34cd?external=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'company-id: 65f4c840b6f1a10012ab34cd'Response
application/json
{ "data": { "id": "65f4c840b6f1a10012ab34cd", "externalId": "ext_1001", "firstName": "John", "lastName": "Doe", "fullName": "John Doe", "email": "john@example.com", "phone": { … }, "tags": [ … ], "totalBookings": 5, "avatarUrl": "https://example.com/avatar.jpg", "firstLetters": "JD", "createdAt": "2024-01-15T10:30:00Z", "updatedAt": "2024-02-20T14:45:30Z", "ts": 1708430730 }, "status": 1 }
Request
The URL parameter "customerId" can be used in two ways: - Unique ID of the customer assigned by TIMIFY ("customerId"). In this case, you don't need the QUERY parameter "external" - use the "externalId" that you added to this customer. In this case, you need to add the parameter "external" ( for ex.: /?external=1) so the api will search by your "externalId" and not by "customerId" assigned by TIMIFY You can add "externalId" to the customer with the endpoints POST /customers and PATCH customers/:customerId
Security
BearerAuth
- Mock serverhttps://docs2.timify.com/_mock/apis/openapi/v1/enterprise-customers/{customerId}
- Productionhttps://api.timify.com/v1/enterprise-customers/{customerId}
- Staginghttps://api-stg.timify.com/v1/enterprise-customers/{customerId}
- Local developmenthttp://localhost:3030/v1/enterprise-customers/{customerId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs2.timify.com/_mock/apis/openapi/v1/enterprise-customers/65f4c840b6f1a10012ab34cd?external=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'company-id: 65f4c840b6f1a10012ab34cd'Response
application/json
{ "data": { "id": "65f4c840b6f1a10012ab34cd", "externalId": "ext_1001", "firstName": "John", "lastName": "Doe", "fullName": "John Doe", "email": "john@example.com", "phone": { … }, "tags": [ … ], "totalBookings": 5, "avatarUrl": "https://example.com/avatar.jpg", "firstLetters": "JD", "createdAt": "2024-01-15T10:30:00Z", "updatedAt": "2024-02-20T14:45:30Z", "ts": 1708430730 }, "status": 1 }