# Motivation

{% hint style="info" %}
API Base : [https://api.naosandco.me/v1/motivation.php](https://api.naosandco.me/v1/motivation.php)
{% endhint %}

{% hint style="info" %}
Texts in <mark style="color:purple;">**purple**</mark> can be clicked for more information.
{% endhint %}

## The API return 2 JSON datas : &#x20;

* "status" : Le statut de l'API
* "message" : La phrase de motivation

### INFO : "message" contain the error message if there is one

| Code Status | Type   | Definition                                                                                          |
| ----------- | ------ | --------------------------------------------------------------------------------------------------- |
| 200         | String | Status 200 tells you that the desired request was completed without errors.                         |
| 500         | String | Code 500 indicates a server error.                                                                  |
| 503         | String | Status 503 tells you that the site is inaccessible, this may be due to a site downtime for example. |
