API / Identities
POST
/identities
Register a sending identity
Authentification : clé API Bearer requise.
Corps JSON
Identity to create
| Nom | Type | Description |
|---|---|---|
| name | string | — |
Exemple curl
curl -X POST https://api.sporee.fr/identities \
-H "Authorization: Bearer $SPORE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Réponses
| Statut | Description | Type |
|---|---|---|
| 201 | Created | create_identity.CreateIdentityResult |
| 400 | Bad Request | echo.HTTPError |
| 401 | Unauthorized | echo.HTTPError |
| 422 | Unprocessable Entity | echo.HTTPError |
Source machine : openapi.json · opération createIdentity