Verify simulation calls and retrieve simulation details from your agent
Parameter | Description | Usage |
---|---|---|
roarkAgentPhoneNumber | The Roark agent’s phone number | See direction-specific details below |
callStartedAt | When the call was initiated | Must be within the simulation’s active window |
roarkAgentPhoneNumber
parameterroarkAgentPhoneNumber
parameter depends on the call direction:
For Inbound Calls:
roarkAgentPhoneNumber
is the number that dials your agentroarkAgentPhoneNumber
is the number you receive via the HTTP request, or the number displayed on the simulation run page for manual callscallStartedAt
parametercallStartedAt
timestamp is critical for matching the correct simulation:
callStartedAt
whenever you receive an inbound call from Roark in your agent’s inbound webhook (dependent on the provider)callStartedAt
whenever you receive an HTTP request to trigger an outbound call for a Roark simulation.2024-01-15T14:30:00Z
)callStartedAt
parameter helps distinguish between multiple simulations
that might use the same phone numbers at different times.Link calls on your platform with Roark's simulation details
Use for Contextual Information
Separate Test Traffic
Add Conditional Logic