- API reference
- Policies
- List policies
https://api.us.nylas.com/v3/policiesList policies
Returns a list of all policies for your application.
Works with an API key or an IAM API key with the policies.read permission.
Query parameters
The maximum number of objects to return. See Pagination for more information.
50"b1c2d3e4-5678-4abc-9def-0123456789ab""Standard Agent Account Policy"application_idstringThe ID of the application that owns the policy. Read-only; derived from the authenticated API key.
"ad410018-d306-43f9-8361-fa5d7b2172e0"organization_idstringThe ID of the Nylas organization that owns the policy. Read-only; derived from the authenticated API key.
"org-abc123"limitsobjectOperational limits enforced for inboxes that use this policy. All fields are optional. If omitted, each limit defaults to the plan's maximum allowed value. If a requested value exceeds the plan limit, the API returns an error.
2621440020limit_attachment_allowed_typesarray<string>Allowed attachment MIME types. If empty or omitted, all types permitted by the plan are allowed.
["image/png","image/jpeg","application/pdf"]limit_size_total_mimeinteger<int64>Maximum total MIME size (in bytes) for a single message, including all attachments.
31457280limit_storage_totalinteger<int64>Maximum total storage (in bytes) for each inbox that uses this policy.
10737418240limit_count_daily_message_receivedinteger<int64>Maximum number of messages each grant can receive per day.
10001000rulesarray<string>(Legacy) Rule IDs linked to this policy. Rule evaluation uses the rule_ids array on the
workspace, not the policy. Set rules on the workspace instead.
Whether rules are allowed depends on your plan.
["c1d2e3f4-5678-4abc-9def-0123456789ab"]truetrue1742932766Rate limited. The provider or Nylas throttled the request. If a provider throttles a request and
says how long to wait, the Retry-After header gives that number of seconds. When the header
is missing, retry with exponential backoff. See
429 rate limit errors by provider.