Get a per-message proof-of-consent receipt (message→consent-record binding)
Returns the proof that THIS specific message had valid consent: the consent_records row that authorized it (lawful_basis, purpose, consent_text_version, consent_proof_url, source, consent_state, granted_at, revoked_at, valid_until) plus the compliance profile applied to the send (messaging_service_id, dest_country, mccmnc, and any country-compliance sender swap). binding_source is stamped when the consent record id was written on the message at send, reconstructed when it was resolved as of send time for a message that predates the stamp, or none when no consent record is bound (a transactional send with no grant). Closes the TCPA/GDPR litigation-discovery gap at message grain. Returns 404 when the message id does not exist.
Authorizations
Dashboard JWT token from Clerk
Headers
Sandbox opt-in for Clerk-session-authenticated requests. Set to true to route the call through the test-mode pipeline: no real provider delivery, no credits deducted, response meta.test_mode: true. Ignored for live API keys (dv_live_sk_*) — server-to-server clients must use a test-prefixed key (dv_test_sk_*) to exercise sandbox. Test-prefixed keys unconditionally enable sandbox regardless of this header.
true, false Path Parameters
^msg_[0-9a-f]{32}$Response
Successful response.