API / Internal

POST

/internal/inbound

Ingest a raw RFC 5322 inbound message

Authentification : clé API Bearer requise.

Paramètres

NomDansTypeDescription
X-Tenant-IDheaderstringResolved tenant id; omitted when the recipient domain identifies it

Corps JSON

Raw RFC 5322 message

NomTypeDescription

Exemple curl

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

Réponses

StatutDescriptionType
200OKingest_inbound_message.Response
400Bad Requestecho.HTTPError
401Unauthorizedecho.HTTPError
413Request Entity Too Largeecho.HTTPError
503Service Unavailableecho.HTTPError

Source machine : openapi.json · opération ingestInboundMessage