Workflows
Tinq\Workflows
Official Tinq.ai PHP SDK.
All URIs are relative to https://tinq.ai/api/v2, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
createWorkflow | POST /workflows | Create workflow |
executeWorkflow | POST /workflows//execute | Execute workflow |
getOneWorkflow | GET /workflows/ | Get one workflow |
getWorkflows | GET /workflows | Get workflows |
createWorkflow()
Create workflow
Create a workflow.
Example
Parameters
Name | Type | Description | Notes |
---|---|---|---|
content_type | string | [optional] | |
accept | string | [optional] | |
body | object | [optional] |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
executeWorkflow()
Execute workflow
Execute a workflow
Example
Parameters
Name | Type | Description | Notes |
---|---|---|---|
workflow_slug | string | ||
content_type | string | [optional] | |
accept | string | [optional] | |
body | object | [optional] |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getOneWorkflow()
Get one workflow
Get one workflow
Example
Parameters
Name | Type | Description | Notes |
---|---|---|---|
workflow_slug | string | ||
accept | string | [optional] | |
content_type | string | [optional] |
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getWorkflows()
Get workflows
List all user’s workflows
Example
Parameters
This endpoint does not need any parameter.
Return type
void (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]