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()
Example
Parameters
Name | Type | Description | Notes |
---|---|---|---|
content_type | string | [optional] | |
accept | string | [optional] | |
body | object | [optional] |
Return type
void (empty response body)Authorization
bearerAuthHTTP request headers
- Content-Type:
application/json
- Accept:
application/json
executeWorkflow()
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
bearerAuthHTTP request headers
- Content-Type:
application/json
- Accept:
application/json
getOneWorkflow()
Example
Parameters
Name | Type | Description | Notes |
---|---|---|---|
workflow_slug | string | ||
accept | string | [optional] | |
content_type | string | [optional] |
Return type
void (empty response body)Authorization
bearerAuthHTTP request headers
- Content-Type: Not defined
- Accept:
application/json
getWorkflows()
Example
Parameters
This endpoint does not need any parameter.Return type
void (empty response body)Authorization
bearerAuthHTTP request headers
- Content-Type: Not defined
- Accept:
application/json