List allow/block rules
Authorizations
HTTPRequired
Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')
Path parameters
workspaceIdstring · uuidRequiredExample:
The workspace ID
b4e02c85-c6d2-4b15-8885-e09671799c61Query parameters
limitinteger · int64Optional
pageTokenstringOptional
reversebooleanOptional
typestring · enumOptionalPossible values:
The type of the AllowBlockRule.
categorystring · enumOptionalPossible values:
The category of the AllowBlockRule.
valuestringOptional
Allow/Block value
Responses
200
A paginated list of Allow/Block rules.
application/json
get
/workspaces/{workspaceId}/conversation-allowblock-rules200
A paginated list of Allow/Block rules.
Examples
curl "https://api.bird.com/workspaces/e58899bf-1e8d-4ff7-b9db-a60befaf90d2/conversation-allowblock-rules" \
-H "Authorization: AccessKey abcd"{
"results": [
{
"id": "01937899-aa2c-7224-bf2b-db9ca8f6362c",
"workspaceId": "6b1908bd-2bc7-409e-bab4-ccfcd3ec69b9",
"category": "email",
"value": "[email protected]",
"type": "allow",
"createdBy": "00000000-0000-0000-0000-000000000000",
"createdAt": "2024-11-29T15:45:56.780546536Z",
"updatedBy": "00000000-0000-0000-0000-000000000000",
"updatedAt": "2024-11-29T15:45:56.780546536Z"
},
{
"id": "01937888-e7c4-79dd-af1f-c00d91a0f3a6",
"workspaceId": "6b1908bd-2bc7-409e-bab4-ccfcd3ec69b9",
"category": "domain",
"value": "test.com",
"type": "reject",
"createdBy": "00000000-0000-0000-0000-000000000000",
"createdAt": "2024-11-29T15:27:38.436082756Z",
"updatedBy": "00000000-0000-0000-0000-000000000000",
"updatedAt": "2024-11-29T15:27:38.436082756Z"
}
]
}Last updated
Was this helpful?

