---
title: "Verifies and creates an entry in the database for successful submission of flag for a challenge."
method: POST
path: "/api/submit/challenge"
tags: ["Submit"]
---

# Verifies and creates an entry in the database for successful submission of flag for a challenge.

`POST /api/submit/challenge`

Returns success or error response based on the flag submitted. Also, the flag will not be submitted if it was previously submitted

## Response `200`

OK

- ApiChallengeStatusResp
  - `name` string
  - `status` string
  - `updated_at` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

## Changes

> 2 revisions in range; 1 could not be searched.

- **2021-03-02** `00c7dd549484` — 2 info
  - api tag `status` added
  - api tag `Submit` removed

[Change history](https://skmtc.dev/sdslabs/apis/beast-api/changes/api/submit/challenge/post.md)

---

[API](https://skmtc.dev/sdslabs/apis/beast-api.md) · [All operations](https://skmtc.dev/sdslabs/apis/beast-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sdslabs/beast-api/revisions/7d8933ea23d5/schema)
