Using the Try It Button

Many APIs support a Try It button that will let customers test CTC APIs directly from the developer portal. This feature enables you to quickly validate features of these endpoints, see working code examples for requests, and view output.

Requirements

To use the Try It button, you must have a CTC login with permissions allowing API access.

Using the Try It Button

  1. Select the API using the navigation menu on the left.
231

Selecting an endpoint.

  1. Enter the parameters for the request. Parameters with an * are required.
1117

Entering parameters.

To enable use of the Try It button, click "Log In" at the top right of the page and use your CTC credentials to sign in. The authToken will expire after 24 hours and will not auto refresh.

415

The CTC login page.

  1. View requests and results.

After entering parameters and pressing the Try It button, you can see the requests that were generated by the developer portal. Switch between cURL, Node, Ruby, JavaScript, and Python views of the request to find code snippets for several common programming languages.

780

Viewing requests in Python.

Results are also visible for each call. By default, the result view is minimized. Click the purple triangles to expand the results and see the information returned.

339

Viewing results.