Skip to Content
MailroomMailroom home

Get a policy

GET
/policies/{id}

Authorization

bearerAuth
headerAuthorizationBearer <mr_live_ / mr_test_>

API key. Never log the secret.

Path Parameters

id*string

Response Body

Policy

application/json
  1. response
id?string
name?string
version?integer
default_action?string
Value in"allow""require_approval""deny"
rules?array<>
Example Request
curl -X GET 'https://api.mailroom.gosuevals.com/v1/policies/string'
Example Response200
{  "id": "string",  "name": "string",  "version": 0,  "default_action": "allow",  "rules": [    {      "id": "string",      "action": "allow",      "match": {}    }  ]}