API / Messaging

GET

/emails/{id}

Get a message

Authentification : clé API Bearer requise.

Paramètres

NomDansTypeDescription
id*pathstringMessage ID

Exemple curl

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

Réponses

StatutDescriptionType
200OKrepository.MessageView
400Bad Requestecho.HTTPError
401Unauthorizedecho.HTTPError
404Not Foundecho.HTTPError

Source machine : openapi.json · opération getEmail