The Reference view in the API Guide provides in-depth information on each API call available for Swiftly data.
Access
The Reference can be accessed by navigating to "Menu" at the corner right side of your screen > API Guide > and clicking on the Reference tab.
Don't have permission to access this view? You'll need API Guide access. Please contact your Account Manager for instructions on how to obtain access.
Overview
The API Reference is very intuitive to use. Each endpoint contains information on the use case for each API, its available endpoints, parameters, and expected status codes. Below is a typical description of an API endpoint on the Swiftly API Guide tool.
⚠️ Are you interfacing with the API as an agency consultant or partner?
You can access the external API Reference Guide using Stoplight at:
https://swiftly-inc.stoplight.io/docs/swiftly-docs/6zpcgvbu5wbb3-swiftly-api-reference
Parameters
Each endpoint will show you the path parameters required to run an API call. These are typically required.
On the other hand, query parameters are typically optional, but not always. Think of query parameters as filters for the data—they allow you to specify exactly what API information you want.
Responses
Did you receive an error 500? Was your query not successful? Use the responses tab to troubleshoot failed queries by looking at all non-200 responses.
Testing widget
The final section of the reference documentation is a testing widget. This widget allows you to test an API call within the Swiftly platform and provides a way to see what kind of information you need to input plus the data output from API call. Details on how to run a test call below.
Comments
Article is closed for comments.