Last updated 3 months ago
Was this helpful?
curl -X POST "https://api.bird.com/workspaces/a1405560-c8d3-4b1a-877d-3f449ad95352/conversation-allowblock-rules-bulk" \ -H "Content-Type: text/csv" \ -H "Authorization: AccessKey abcd" \ -d 'test@example.com,allow'
{ "workspaceId": "6b1908bd-2bc7-409e-bab4-ccfcd3ec69b9", "bulkId": "875cd425-d62d-4d16-b3af-61dafe71ea2d", "currentIndex": 0, "total": 1, "status": "pending", "errors": null, "updatedAt": "2024-11-29T15:45:56.780546536Z" }
Add allow/block to bulk process via a csv file.
The workspace ID
b4e02c85-c6d2-4b15-8885-e09671799c61
curl -L \ --request POST \ --url 'https://api.bird.com/workspaces/{workspaceId}/conversation-allowblock-rules-bulk' \ --header 'Authorization: Bearer JWT' \ --header 'Content-Type: text/csv' \ --data-binary $'text'
{ "workspaceId": "123e4567-e89b-12d3-a456-426614174000", "bulkId": "123e4567-e89b-12d3-a456-426614174000", "currentIndex": 1, "total": 1, "status": "pending", "errors": [ "text" ], "updatedAt": "2025-03-28T19:14:16.207Z" }