Call

The billable spend attributed to one call, split by cost type, with every cost line behind it. Simulated calls include the costs their simulation incurred before the call connected. Amounts are billable spend only, in exact micro-dollars (*UsdMicros) and dollars (*Usd, for display). Requires an API key with the billing:read permission.

get/v1/call/{callId}/cost

Request

  • Base URL
    https://api.roark.ai
  • URL
    https://api.roark.ai/v1/call/{callId}/cost
  • Auth
    HTTP bearer

Path parameters

callIdstring uuid required

Response

The call’s cost

Changes

    • warning

      added the new PHONE_NUMBER enum value to the /// response property for the response status

    • warning

      added the new PHONE_NUMBER enum value to the /// response property for the response status

    • info

      endpoint added