v1
latestOpenAPI 3.0.02026-08-04265791.1 MBMissions
Find mission's workflow
Get information about the workflow of a mission.
The workflow_history field is defined as an array of:
| Field | Type | Description |
|---|---|---|
| state | string | State of the step |
| step_id | string | Unique id of the step |
| step_title | string | The title of the step |
| user_id | string | Id of the user that completed the step |
| date | date | Date the user completed the step |
get/public/api/missions/{id}/workflow
Headers
Acceptstring
e.g. application/json
Response
OK
Example response
{
"mission_id": "67726366dc8e0300a774e23d",
"title": "Field Answer Group by date field",
"created_date": "2025-01-01T09:21:40.232Z",
"updated_date": "2025-01-01T09:21:40.232Z",
"campaign_id": "6772631ddc8e0300a774e03b",
"user_id": "5fbea9662804f40033935d9b",
"creator_id": "54ab03c6546847ee0d30089a",
"store_id": "5b912704e64618003830c194",
"type": "mission",
"booked_date": "2024-12-30T09:10:11.225Z",
"task_number": 6,
"workflowState": {
"state": "available",
"step_id": "8cbe48e3-52b5-4ffa-bb2b-1cb51f40bf8d",
"step_title": "Step 2"
},
"workflowHistory": [
{
"state": "completed",
"step_id": "f93f7fdb-8253-4ab3-8f81-d05485c6181e",
"step_title": "Step 1",
"user_id": "5a57539eb937d8003ba3d17f",
"date": "2024-12-30T09:11:51.315Z"
}
]
}