Internal
Internal

Check Balance

Check user balance. Used by voice-agent during calls.

Args: elapsed_seconds: How long the current call has been running. Used to estimate accrued cost and check if balance can cover it.

Returns balance and whether the user can continue the call.

get/internal/balance/{user_id}

Request

  • Base URL: https://api.call2me.app
  • URL: https://api.call2me.app/internal/balance/{user_id}
  • Auth: HTTP bearer

Path parameters

user_idstring required

Query parameters

elapsed_secondsnumber

Headers

x-internal-keystring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.