4. Using the LightBox Developer Portal Swagger Documentation
    • Dark
      Light
    • PDF

    4. Using the LightBox Developer Portal Swagger Documentation

    • Dark
      Light
    • PDF

    Article summary

    The LightBox Developer Portal is the quickest and easiest way to try each API.

    Prerequisites

    You will need a LightBox account along with a valid, non-expired, LightBox API authentication token. If you do not have one please visit Registering for an Evaluation for detail.

    Open the Swagger page for a selected API

    Within the LightBox Developer Portal, navigate to the LightBox API Catalog by clicking APIs on the main navigation toolbar.LightBox Developer Portal
    Click an API card of interest.LightBox APIs Catalog
    The API card will bring you directly to the Swagger OAS spec.


    Click on the Authorize button to enter your API consumer key.LightBox Swagger Authorize
    Enter your consumer key in the Value box and click Authorize.

    You are now authorized to test this API and all endpoints.

    Click on any endpoint to expose additional information, such as parameters and responses. 


    LightBox Address API endpoints
    Click Try it out, which will allow you to test the selected API.LightBox Geocoding endpoint

    Enter any parameters that are required for that call. In the example to the right, an address string is required and has been entered. 


    LightBox Geocoding Address Text

    Click Execute to initiate the API call using the parameters proviced.


    The response will appear below.

    Two icons are in the bottom right-corner of the response body. 
    • Click the clipboard icon to copy the response body to your clipboard. 
    • Click the Download button to download a copy of the response body as a JSON file. 
    LightBox Geocoding API Response



    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.