Twilio

Twilio Insights v2

This is the reference API for the rest-proxy server.

Communication#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

This is the reference API for the rest-proxy server.

Endpoints 6

InsightsV1CreateAccountReport

  • POSTCreate Account Level Report/v2/Voice/ReportsCreate a Report for a specific account with given time range and filters.

InsightsV1GetAccountReport

  • GETFetch Voice Insights Account Level Report/v2/Voice/Reports/:reportIdGet Account Level Report for the given Report Id.

InsightsV1CreateInboundPhoneNumbersReport

  • POSTCreate Inbound Phone Numbers Level Report/v2/Voice/Reports/PhoneNumbers/InboundCreate Inbound specific Phone Numbers Report for a specific account with given time range.

InsightsV1GetInboundPhoneNumbersReport

  • GETList Inbound Phone Numbers Level Reports/v2/Voice/Reports/PhoneNumbers/Inbound/:reportId?PageSize=1&Page=0&PageToken=stringGet Inbound Phone Numbers Level Reports for the given Report Id.

InsightsV1CreateOutboundPhoneNumbersReport

  • POSTCreate Outbound Phone Numbers Level Report/v2/Voice/Reports/PhoneNumbers/OutboundCreate Outbound specific Phone Numbers Report for a specific account with given time range.

InsightsV1GetOutboundPhoneNumbersReport

  • GETList Outbound Phone Numbers Level Reports/v2/Voice/Reports/PhoneNumbers/Outbound/:reportId?PageSize=1&Page=0&PageToken=stringGet Outbound Phone Numbers Level Report for the given Report Id.

API details

Base URL
https://insights.twilio.com
Authentication
HTTP Basic authentication (username and password)
Operations
6 operations on 6 pathsGET 3POST 3
Main resources
InsightsV1CreateAccountReport 1InsightsV1CreateInboundPhoneNumbersReport 1InsightsV1CreateOutboundPhoneNumbersReport 1InsightsV1GetAccountReport 1InsightsV1GetInboundPhoneNumbersReport 1InsightsV1GetOutboundPhoneNumbersReport 1
Response formats
application/json
Description format
OpenAPI 3.0.1, API version 1.0.0

How to test the Twilio Insights v2 in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Twilio Insights v2 collection, without the publisher's secrets.
  3. Add your credentialsThis API uses HTTP Basic authentication (username and password). Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Create Account Level Report” (POST /v2/Voice/Reports), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Twilio Insights v2?

This is the reference API for the rest-proxy server. It is listed under Communication and has 6 endpoints.

Who publishes the Twilio Insights v2?

It is listed from Twilio's public API description (an OpenAPI document), not published by Twilio on Swastik Codes. Anyone who controls twilio.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Twilio Insights v2?

Requests go to https://insights.twilio.com. Endpoint paths are added to this base URL.

How do I authenticate with the Twilio Insights v2?

With HTTP Basic authentication (username and password).

How many endpoints does the Twilio Insights v2 have?

6 operations on 6 paths (3 GET, 3 POST). The largest groups are InsightsV1CreateAccountReport, InsightsV1CreateInboundPhoneNumbersReport, InsightsV1CreateOutboundPhoneNumbersReport, InsightsV1GetAccountReport.

Is forking the Twilio Insights v2 free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.