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
- Select the API using the navigation menu on the left.
- Enter the parameters for the request. Parameters with an * are required.
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.
- 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.
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.