Overview
The/company/list endpoint returns all companies associated with your integration. Use it to look up company IDs, verify which companies are connected, or synchronize your system with SynchPay.
How it works
1
Obtain an access token
Request an access token by calling
/auth/token with your ClientId and ClientSecret.
Refer to the Authorization section for details.2
Call the endpoint
Make a
GET request to /company/list with your access token. No additional
parameters are required — the endpoint returns every company linked to your
integration.3
Process the results
The response contains an array of company objects, each with an
id, name,
and optional referenceId.Retrieving your companies
Endpoint
- URL:
https://api.synchpay.com/company/list - Method:
GET - Authorization:
Bearer <AccessToken>
Response
The response contains a singlecompanies array:
Example request
Example response
When to use this endpoint
- Syncing company data — Keep your system up to date with the companies registered in SynchPay.
- Looking up companies — Find a company’s
idorreferenceId. UsereferenceIdwith/company/{companyReferenceId}/statusand the company locations endpoints. - Verifying registrations — Confirm that a company was successfully created after calling
/company/create.