Skip to Content
MailroomMailroom home
API referenceProvenance

Verify signed agent identity on a raw message

POST
/provenance/verify

Authorization

bearerAuth
headerAuthorizationBearer <mr_live_ / mr_test_>

API key. Never log the secret.

Request Body

application/json
  1. body
raw_mime*string

Raw RFC 822 source

Response Body

Verification result

application/json
  1. response
ok?boolean
agent_id?string|null
principal?string|null
policy?string|null
errors?array<string>
Example Request
curl -X POST 'https://api.mailroom.gosuevals.com/v1/provenance/verify' \  -H 'Content-Type: application/json' \  -d '{  "raw_mime": "string"}'
Example Response200
{  "ok": true,  "agent_id": "string",  "principal": "string",  "policy": "string",  "errors": [    "string"  ]}