---
title: "Validate"
method: POST
path: "/public/api/missions/{id}/validate"
tags: ["Missions"]
---

# Validate

`POST /public/api/missions/{id}/validate`

Validate a mission.

#### Fields

| Field                          | Format       | Required | Description     |
|--------------------------------|--------------|:--------:|-----------------|
|`compliant`                     |  boolean     |     x    | Validated if true, rejected otherwise. |
|`rating`                        |  number      |          | Rating of the mission.                |
|`republish`                     |  boolean     |          | If true, republish this mission.                |
|`republish_with_answers`        |  boolean     |          | If `republish` is true, control whether or not to prefill the republished mission with previous mission answers. |
|`reason_noncompliant`           |  string      |          | Explanation why the mission was not compliant.                |
|`reason_noncompliant_key`       |  string      |          | Explanation key.                |

## Headers

- `Accept` string

## Response `200`

OK

- object
  - `validated_mission` object
    - `mission_id` string
    - `title` string
    - `created_date` string
    - `updated_date` string
    - `campaign_id` string
    - `user_id` string
    - `creator_id` string
    - `store_id` string
    - `finished_date` string
    - `status` string
    - `compliant` boolean
    - `validated_date` string
    - `rating` number
    - `republish_count` string
    - `type` string

---

[API](https://skmtc.net/yoobic/apis/yoobic-public-api.md) · [All operations](https://skmtc.net/yoobic/apis/yoobic-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/yoobic/yoobic-public-api/versions/dd57df399bc4/schema)
