Last updated 25 days ago
The workspace ID
"b4e02c85-c6d2-4b15-8885-e09671799c61"
The Allow/Block rule.
The category of the AllowBlockRule.
The type of the AllowBlockRule.
const response = await fetch('https://api.bird.com/workspaces/{workspaceId}/conversation-allowblock-rules/{allowBlockRuleId}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "id": "123e4567-e89b-12d3-a456-426614174000", "workspaceId": "123e4567-e89b-12d3-a456-426614174000", "category": "all", "value": "text", "type": "allow", "createdBy": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2024-12-21T15:58:22.826Z", "updatedBy": "123e4567-e89b-12d3-a456-426614174000", "updatedAt": "2024-12-21T15:58:22.826Z" }