Fetch wireless usage

GET /wireless/Sims/{SimSid}/Usage

Path parameters

  • SimSid string Required

Query parameters

  • End string
  • Start string

Responses

  • 200 application/json

    OK

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

    Hide response attributes Show response attributes object
    • sim_sid string | null

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^DE[0-9a-fA-F]{32}$.

    • sim_unique_name string | null
    • account_sid string | null

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

    • period
    • commands_usage
    • commands_costs
    • data_usage
    • data_costs
    • url string(uri) | null
GET /wireless/Sims/{SimSid}/Usage
curl \
 --request GET 'https://preview.twilio.com/wireless/Sims/{SimSid}/Usage' \
 --user "username:password"
Response examples (200)
{
  "url": "https://preview.twilio.com/wireless/Sims/DEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Usage",
  "period": {},
  "sim_sid": "DEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "data_costs": {},
  "data_usage": {},
  "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "commands_costs": {},
  "commands_usage": {},
  "sim_unique_name": "sim_unique_name"
}