Last updated 7 days ago
The workspace ID
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-03T15:02:13.766Z", "updatedBy": "123e4567-e89b-12d3-a456-426614174000", "updatedAt": "2024-12-03T15:02:13.766Z" }