Skip to content
Endless Documentation

Get AlertPolicy

GET
/organizations/{organization_id}/alert-policy

Authorization

bearerAuth
AuthorizationBearer <token>

JWT token from authentication

In: header

Path Parameters

organization_id*string
Length1 <= length

Response Body

application/json

curl -X GET "https://example.com/organizations/org_abc123/alert-policy"
{  "enabled": true,  "always_ask_above_enabled": true,  "always_ask_above_credits": 0,  "auto_accept_below_enabled": true,  "auto_accept_below_credits": 0,  "default_action": "accept",  "countdown_seconds": 1}