Last updated 5 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
POST /workspaces/{workspaceId}/conversation-allowblock-rules-bulk HTTP/1.1 Host: api.bird.com Authorization: Bearer JWT Content-Type: text/csv Accept: */* Content-Length: 6 "text"
The Allow/Block rule bulk insert progress.
{ "workspaceId": "123e4567-e89b-12d3-a456-426614174000", "bulkId": "123e4567-e89b-12d3-a456-426614174000", "currentIndex": 1, "total": 1, "status": "pending", "errors": [ "text" ], "updatedAt": "2025-05-09T04:20:14.903Z" }