Inconsistent response code for /create-batch-call

the documentation states that a successful call to this endpoint should return a response with status code 201, but it returns status 200.

Thank you for reaching out to Retell AI Support. We’ve received your ticket and our team will respond within 8 hours.

Hi Corban,

Thank you for reporting this! This is a bug on our side where the correct status code was inadvertently omitted for this specific endpoint. We’ve identified the issue and are working on a fix to align the response with our documentation. In the meantime, we’d recommend handling both 200 and 201 as success responses for this endpoint.

We appreciate you catching this!

Regards,
Stanley
Support @ Retell AI

I am working on the fix. Will send a pr out by today

Code change has been pushed. This should get reflected pretty soon in the next couple of hours. Thanks for reporting this once again!