API / Messaging

GET

/emails

List enqueued/sent messages

Authentification : clé API Bearer requise.

Paramètres

NomDansTypeDescription
identityIdquerystringFilter by identity
statusquerystringFilter by status
qquerystringSearch subject or recipient
fromquerystringCreated at >= RFC3339 timestamp
toquerystringCreated at < RFC3339 timestamp
limitqueryintegerPage size
offsetqueryintegerOffset

Exemple curl

curl -X GET https://api.sporee.fr/emails \
  -H "Authorization: Bearer $SPORE_API_KEY"

Réponses

StatutDescriptionType
200OKlist_messages.Result
400Bad Requestecho.HTTPError
401Unauthorizedecho.HTTPError

Source machine : openapi.json · opération listEmails