cURL
curl -X POST https://api.bodhveda.com/recipients/batch \ -H "Authorization: Bearer bv_xxxxxxxxx" \ -H "Content-Type: application/json" \ -d '{ "recipients": [ { "id": "recipient_123", "name": "Alice Johnson" }, { "id": "recipient_456", "name": "Bob Smith" }, { "name": "Bob Smith" } ] }'
{ "data": { "created": [ { "id": "recipient_123" } ], "updated": [ { "id": "recipient_456" } ], "failed": [ { "id": "", "batch_index": 2, "errors": [ { "message": "ID is required", "description": "ID cannot be empty", "property_path": "id", "invalid_value": "" } ] } ] } }
Create up to 100 recipients at once.
Bearer authentication header of the form Bearer bv_xxxxxxxxx, where bv_xxxxxxxxx is your API Key with Full access scope.
Bearer bv_xxxxxxxxx
bv_xxxxxxxxx
Full access
Batch create recipients result
The response is of type any.
any