Send policy
What the organization allows integrations to send.
Get send policy
GET
config:read/v1/send-policy/Response fields (200)
| Field | Type | Notes |
|---|---|---|
datarequired | object | — |
data.channels | object[] | read-only |
data.channels[].account_decision | object | read-only |
data.channels[].account_decision.reason | string | read-only |
data.channels[].account_decision.status | string | read-only |
data.channels[].burst | object | read-only |
data.channels[].burst.limit | integer | read-only |
data.channels[].burst.remaining | integer | read-only |
data.channels[].burst.reset_at | string (date-time) | read-only |
data.channels[].burst.used | integer | read-only |
data.channels[].channel | string | read-only |
data.channels[].hourly | object | read-only |
data.channels[].hourly.limit | integer | read-only |
data.channels[].hourly.remaining | integer | read-only |
data.channels[].hourly.reset_at | string (date-time) | read-only |
data.channels[].hourly.used | integer | read-only |
data.channels[].recipient | object | read-only |
data.channels[].recipient.availability | string | read-only |
data.channels[].recipient.daily_limit | integer | read-only |
data.channels[].recipient.hourly_limit | integer | read-only |
data.computed_at | string (date-time) | read-only |
data.decisions | object | read-only |
data.decisions.would_accept | integer | read-only |
data.decisions.would_reject | integer | read-only |
data.mode | string | read-only |
data.sources | object[] | read-only |
data.sources[].count | integer | read-only |
data.sources[].source | string | read-only |
Responses
200Success400The 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"