API / Identities

POST

/identities

Register a sending identity

Authentification : clé API Bearer requise.

Corps JSON

Identity to create

NomTypeDescription
namestring

Exemple curl

curl -X POST https://api.sporee.fr/identities \
  -H "Authorization: Bearer $SPORE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Réponses

StatutDescriptionType
201Createdcreate_identity.CreateIdentityResult
400Bad Requestecho.HTTPError
401Unauthorizedecho.HTTPError
422Unprocessable Entityecho.HTTPError

Source machine : openapi.json · opération createIdentity