API & developers
Make your first API request
Send an authenticated GET request and check the response before building an integration.
Start with a read-only request from a terminal. This confirms the base URL, token, account access, and JSON response before you add the call to application code.
Steps
Store the token for this session
Put the copied account token in a local environment variable named VIA_API_TOKEN. Keep the value out of shell history and never commit a real token to an environment file.
Request the data source list
Send GET https://app.via.tools/api/v1/data_sources with an Accept application/json header and X-Api-Token set to VIA_API_TOKEN. All production requests must use HTTPS.
Check the response
A successful request returns JSON and a 200 status. A 401 means the token is missing or invalid; a 403 means API access is not enabled for the account.
Move to the endpoint reference
Use the API documentation for parameters, response fields, pagination, and examples for the resource you want to integrate. Handle non-success statuses before scheduling the request.
Tips
Related guides
Product changes affecting this guide
December 03, 2026
More dependable audience counts and Data Breakdown results
Invalid assistant filters now show a clear count failure, and phone totals in Data Breakdown match phone-based audiences more accurately.
December 01, 2026
More accurate date ranges and updated VIA icons
Date range filters now apply both dates correctly, and VIA has refreshed browser and app icons.
November 24, 2026
Clearer creative reviews and safer data access
Creative reviews are easier to complete, audience reports are clearer, and account data stays within the right permissions.
November 14, 2026
Safer API access and restricted folders
API tokens now work only with API requests, and restricted list names stay private from teammates without access.
October 31, 2026
Clearer ZIP targeting and more dependable counts
ZIP targeting is easier to review, audience counts recover from interruptions, and Ad Services meeting notes stay inside VIA.
October 29, 2026
Safer suppressions and clearer audience counts
Suppression files now work more reliably, while geography filters and audience count labels are clearer.
August 03, 2026
More control over audience groups
Audience groups can now use different contact settings, with clearer controls and more reliable counts and exports.