API reference

Download spec
get

List notification rules

Returns routing rules that map event types to one or more delivery channels. Each rule includes its enabled state and channel targets.

Required API key scope
notifications:read
/api/v1/team/notifications/rules

Code samples

curl --request GET \
  --url https://api.emailguard.co/api/v1/team/notifications/rules \
  --header 'Authorization: Bearer YOUR_API_KEY'

Parameters

This endpoint has no parameters.

Responses

200
OK
OK
codestringrequired

Machine-readable status code (for example OK or INVALID_BODY).

dataunknown[]
messagestring

Human-readable detail when the code is not OK.

401
Unauthorized
Unauthorized
codestringrequired

Machine-readable status code (for example OK or INVALID_BODY).

messagestring

Human-readable detail when the code is not OK.

403
Forbidden
Forbidden
codestringrequired

Machine-readable status code (for example OK or INVALID_BODY).

messagestring

Human-readable detail when the code is not OK.