# Yoobic Missions API

**Canonical:** https://apis.io/apis/yoobic/yoobic-missions-api/  
**Provider:** Yoobic — https://apis.io/providers/yoobic/  
**Base URL:** https://api.yoobic.com/public/api  
**Documentation:** https://docs.yoobic.com/api.html

Yoobic Missions API is one of 41 APIs that [Yoobic](https://apis.io/providers/yoobic/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Missions. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and a changelog.

<a id="group-missions"></a> Missions are the basic campaign type. The store users will receive missions with fields to complete, for example send a photo of their display or change the location of the new collection in store. The mission creator will define its content from the dashboard, then he will publish it to the appropriate stores. Once the users have completed the mission they will be able to submit it. The managers responsible for the store will then be able to define the mission as compliant (if they deem the answers acceptable) or non compliant (if they believe there is room for improvement). If a mission is evaluated as non compliant, the manager can choose for the user to retake the mission entirely or he can specify which parts of the mission need improving and republish the mission to the store with the rest of the answers already filled in. Tips: a mission is an entity of a campaign published on a store. <img src="https://user-images.githubusercontent.com/4806944/46027402-7576ae00-c0f6-11e8-9579-808251a4aa97.png" > A mission is either available, ongoing or finished. <img src="https://user-images.githubusercontent.com/4806944/46028408-2e3dec80-c0f9-11e8-92c4-673fc5ef4794.png" > A finished mission is either "to validate", "compliant" or "not compliant". - **Available** : a mission is available as soon as it has been published on a store, and hasn't been started yet by a user. - **Ongoing**: as soon as a user starts or loads a mission, the status of the mission goes from "available" to "ongoing" (known as `booked` under the status field of a mission) - **Finished** : once the mission has been submitted, it is finished. - **To validate**: if the mission hasn't been validated yet and marked as "compliant" or "not compliant", or isn't configured to be automatically marked as compliant. - **Compliant** - **Not compliant** - **Scheduled**: a mission is scheduled as soon as it has been published on a store and if `valid_from` date did not reach the current date yet. - **Archived**: a mission gets status archived as soon as it’s archived ### Fields <a id="group-missions-fields"></a> | Field | Type | Required | Readonly | OrderBy | Description | |--------------------------------|--------------|:--------:|:--------:|:-------:|-----------------| |`mission_id` | string | x | x | | Unique id of the mission | |`title` | string | | | | The title of the mission | |`type` | string | | | x | Mission type | |`campaign_id` | string | | x | x | Unique id of the mission's parent campaign | |`user_id` | string | | x | x | Unique id of the user who performs the mission | |`creator_id` | string | | | x | Unique id of the mission creator | |`store_id` | string | | x | x | Unique id of associated store | |`status` | string | | x | x | Current status of the mission if set: `"scheduled"`, `"booked"`, `"finished"`, `"archived"` | |`valid_from` | timestamp | | x | | Mission available from | |`republish_count` | number | | | | The number of times the mission was republished | |`available_on_book` | boolean | | x | | If `true`, a new copy of this mission would be created when the mission is started | |`available_on_finished` | boolean | | x | | If `true`, a new copy of this mission would be created on finish | |`booked_date` | timestamp | | x | | The date on which the mission was booked to a user | |`due_date` | timestamp | | x | | The date by which the mission must be completed | |`duration` | number | | x | | Time spent on the mission (in minutes) | |`finished_date` | timestamp | | x | x | The date on which the mission was finished | |`score` | object | | | | The score of the mission as a JSON object `{"title": "my score", "value": 10}` | |`extra_scores` | object | | | | The extra scores of the mission as a JSON object `{"score1": { "title": "my score", "value": 10}}` | |`compliant` | boolean | | x | | The compliance of the mission as marked by an area manager: `true` if marked compliant, `false` if marked noncompliant. If nothing is specified and if the mission is finished, `status` will be "to validate" | |`compliant_by_default` | boolean | | | | If `true` the mission is automatically marked compliant on finish | |`validated_date` | timestamp | | x | | The date on which the mission was validated | |`reason_noncompliant` | string | | | | The reason provided by the area manager to explain why the mission was marked noncompliant | |`republished_with_answers` | boolean | | x | | Has the mission been repulished with the previous answers after being marked noncompliant | |`original_mission_id` | string | | x | | If present, the `mission_id` of the mission that this mission was republished from | |`original_reason_noncompliant` | string | | x | | The `reason_noncompliant` from the original mission that was republished. | |`updated_date` | timestamp | | x | x | Mission's last update date | |`created_date` | timestamp | | x | | Mission's creation date | |`answers` | array | | | | Mission's questions and answers, if misssion is finished (see below) | |`group_ids` | array | | | | Group ids that can see this mission | |`user_ids` | array | | | | User ids that can see this mission | |`action_plan_progress` | number | | x | | Completion rate of an action plan. | |`task_number` | number | | x | | Auto generated when a new mission is created. The value is unique within a campaign | **Important**: Please note that to retrieve the value of the answers for a specific mission, you will need to use the single mission endpoint. The `answers` field is defined as an array of: | Field | Type | Description | |----------------------|----------------|---------------------------| |`question_id` | string | Unique id of the question | |`question_type` | string | The type of the question | |`question` | string | The title of the question | |`page_number` | number | The number of the page the question appears in | |`question_number` | number | The number of the question on the page | |`answer` | string | The value of the answer |

## Machine-readable artifacts (11)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/yoobic/refs/heads/main/openapi/yoobic-missions-api-openapi.yml
- **Documentation** — https://docs.yoobic.com/api.html
- **APIReference** — https://docs.yoobic.com/api.html
- **Postman** — https://assets.yoobic.com/raw/upload/v1767016464/3c85c240-dd03-4981-9814-bc6e5e861fa0.zip
- **ErrorCatalog** — https://raw.githubusercontent.com/api-evangelist/yoobic/refs/heads/main/errors/yoobic-problem-types.yml
- **Conventions** — https://raw.githubusercontent.com/api-evangelist/yoobic/refs/heads/main/conventions/yoobic-conventions.yml
- **ChangeLog** — https://raw.githubusercontent.com/api-evangelist/yoobic/refs/heads/main/changelog/yoobic-changelog.yml
- **Lifecycle** — https://raw.githubusercontent.com/api-evangelist/yoobic/refs/heads/main/lifecycle/yoobic-lifecycle.yml
- **Conformance** — https://raw.githubusercontent.com/api-evangelist/yoobic/refs/heads/main/conformance/yoobic-conformance.yml
- **Sandbox** — https://raw.githubusercontent.com/api-evangelist/yoobic/refs/heads/main/sandbox/yoobic-sandbox.yml
- **Webhooks** — https://raw.githubusercontent.com/api-evangelist/yoobic/refs/heads/main/asyncapi/yoobic-webhooks.yml

## Other Yoobic APIs (12)

- [Yoobic Answers API](https://apis.io/apis/yoobic/yoobic-answers-api/)
- [Yoobic Badges API](https://apis.io/apis/yoobic/yoobic-badges-api/)
- [Yoobic Bot Messages API](https://apis.io/apis/yoobic/yoobic-bot-messages-api/)
- [Yoobic Bots API](https://apis.io/apis/yoobic/yoobic-bots-api/)
- [Yoobic Business KPIs data - salesdata API](https://apis.io/apis/yoobic/yoobic-business-kpis-data-salesdata-api/)
- [Yoobic Campaigns API](https://apis.io/apis/yoobic/yoobic-campaigns-api/)
- [Yoobic Catalogs API](https://apis.io/apis/yoobic/yoobic-catalogs-api/)
- [Yoobic Chats API](https://apis.io/apis/yoobic/yoobic-chats-api/)
- [Yoobic Comments API](https://apis.io/apis/yoobic/yoobic-comments-api/)
- [Yoobic Communities API](https://apis.io/apis/yoobic/yoobic-communities-api/)
- [Yoobic Community Posts API](https://apis.io/apis/yoobic/yoobic-community-posts-api/)
- [Yoobic Competencies API](https://apis.io/apis/yoobic/yoobic-competencies-api/)

## Tags

Missions

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/yoobic/yoobic-missions-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/yoobic/.
