# Submit score

## Submit a score

<mark style="color:green;">`POST`</mark> `https://api.highscore.public-function.org/v1/board/:board`

Submit a user score to a highscore board.

#### Path Parameters

| Name  | Type   | Description                               |
| ----- | ------ | ----------------------------------------- |
| board | string | Unique identifier of the highscore board. |

#### Headers

| Name              | Type   | Description            |
| ----------------- | ------ | ---------------------- |
| Highscore-Secret  | string | Keep this one a secret |
| Highscore-Api-Key | string | API Key                |

#### Request Body

| Name  | Type    | Description                                       |
| ----- | ------- | ------------------------------------------------- |
| score | integer | Score to be submitted.                            |
| user  | string  | Unique identifier of the user in your data model. |

{% tabs %}
{% tab title="200 Score successfully retrieved." %}

```
{    "success": true }
```

{% endtab %}
{% endtabs %}
