curl --request POST \ --url https://api.outrival.com/rest/v2/call/phone \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "workflowId": "<string>", "deploymentId": "<string>", "phoneNumber": "<string>", "userName": "<string>", "userId": "<string>", "variables": {}, "metadata": {}, "externalId": "<string>", "anonymousId": "<string>" }'
{ "id": "<string>" }
The response is of type object.
object