Workflow info API
Warning
This page may be subject to changes!
This endpoint provides a way to fetch simple information about a workflow (name / desc / type etc.)
Endpoint¶
1 | |
URL attributes¶
| Attribute | Type | Required | Description |
|---|---|---|---|
organization_id |
String (UUID) | Required | ID of the organization for which the data is requested |
workflow_id |
String (UUID) | Required | ID of the workflow for which the data is requested |
Response¶
The response will be a object like:
| Attribute | Type | Description |
|---|---|---|
id |
uuid | A unique string for workflow |
org_id |
uuid | The unique UUID for your company |
type |
string | Tells the internal "type" of the workflow (giosg-default / interaction / user-generated) |
name |
string | The name of this workflow |
description |
string | The description of this workflow |
modified_at |
timestamp | Timestamp of workflow last modified time in ISO format |
is_published |
boolean | Boolean value if workflow is published or still draft |
start_date |
string | Date string of the first event |
end_date |
string | Date string of the last event |
Example success response in JSON format:
1 2 3 4 5 6 7 8 9 10 11 | |
Response HTTP status codes¶
Warning
This section should be fact-checked before going live!
Endpoint returns the following HTTP status codes:
- 200 if the request was successful
- 401 if you are not authenticated
- 403 if you do not have active subscription
- 403 if you do not have access to the organization
- 403 if you do not have
reportingpermission - 404 if data was not found
- 406 if filtering with something that is not yet implemented
- 500 if an unexpected error occurred with the query