Skip to content

Send policy

What the organization allows integrations to send.

Get send policy

GET/v1/send-policy/
config:read
Response fields (200)
FieldTypeNotes
datarequiredobject—
data.channelsobject[]read-only
data.channels[].account_decisionobjectread-only
data.channels[].account_decision.reasonstringread-only
data.channels[].account_decision.statusstringread-only
data.channels[].burstobjectread-only
data.channels[].burst.limitintegerread-only
data.channels[].burst.remainingintegerread-only
data.channels[].burst.reset_atstring (date-time)read-only
data.channels[].burst.usedintegerread-only
data.channels[].channelstringread-only
data.channels[].hourlyobjectread-only
data.channels[].hourly.limitintegerread-only
data.channels[].hourly.remainingintegerread-only
data.channels[].hourly.reset_atstring (date-time)read-only
data.channels[].hourly.usedintegerread-only
data.channels[].recipientobjectread-only
data.channels[].recipient.availabilitystringread-only
data.channels[].recipient.daily_limitintegerread-only
data.channels[].recipient.hourly_limitintegerread-only
data.computed_atstring (date-time)read-only
data.decisionsobjectread-only
data.decisions.would_acceptintegerread-only
data.decisions.would_rejectintegerread-only
data.modestringread-only
data.sourcesobject[]read-only
data.sources[].countintegerread-only
data.sources[].sourcestringread-only

Responses

  • 200Success
  • 400The request is invalid.
  • 401Authentication is missing, invalid, or revoked.
  • 403The authenticated identity lacks the required scope or capability.
  • 404The resource is unavailable or not visible to this organization.
  • 429The request-rate budget is exhausted.

Example request

curl
curl -X GET "https://api.themochi.app/v1/send-policy/" \
  -H "Authorization: Bearer $MOCHI_API_KEY"