API Reference
Reference for the API
Process and upload a Retell call to Roark evaluation
Javascript
import Roark from '@roarkanalytics/sdk'; const client = new Roark({ bearerToken: 'My Bearer Token', }); const response = await client.integrations.createRetellCall({ retellCallEndedPayload: { event: 'bar', call: 'bar' }, }); console.log(response.data);
{ "data": { "callId": "<string>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Retell call upload payload
Created Retell call upload job
The response is of type object.
object