API / Identities

POST

/identities/{id}/addresses

Add an allowed From address (local-part) on a verified identity

Authentification : clé API Bearer requise.

Paramètres

NomDansTypeDescription
id*pathstringIdentity ID

Corps JSON

Address payload

NomTypeDescription
labelstring
localPartstring

Exemple curl

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

Réponses

StatutDescriptionType
201Createdadd_address.AddAddressResult
400Bad Requestecho.HTTPError
409Conflictecho.HTTPError

Source machine : openapi.json · opération addIdentityAddress