API Access

Viafoura provides API's that allow you to perform actions against your widgets and even build your own widgets with Viafoura functionality. View complete list of API's.

To call our API Endpoints you will need to:

  1. Obtain API credentials
    A client ID and secret pair with the appropriate permission levels will be provided to you by your client success representative. Please contact our support team

  2. Create a JSON Web token (JWT)
    Use the Client ID and Secret to call the authorization endpoint to generate a JWT to use as authorization for Viafoura API calls. For this endpoint, the authentication header when passing your credentials should be BASIC.


Each JWT is valid only for 5 minutes.

  1. To call any other Viafoura API endpoints, set the authentication header to BEARER and use the generated JWT as the value.