API / Messaging
GET
/emails/{id}
Get a message
Authentification : clé API Bearer requise.
Paramètres
| Nom | Dans | Type | Description |
|---|---|---|---|
| id* | path | string | Message ID |
Exemple curl
curl -X GET https://api.sporee.fr/emails/<id> \
-H "Authorization: Bearer $SPORE_API_KEY"Réponses
| Statut | Description | Type |
|---|---|---|
| 200 | OK | repository.MessageView |
| 400 | Bad Request | echo.HTTPError |
| 401 | Unauthorized | echo.HTTPError |
| 404 | Not Found | echo.HTTPError |
Source machine : openapi.json · opération getEmail