Besso Integrations API (v1)

The Integrations API lets your own system, such as an ERP, send trade data to Besso with no one uploading a file. Your system signs in as itself, sends its records as one JSON document, and Besso reports what happened to each record.

How it works

  1. Get a token from Microsoft Entra ID, with the credential Besso issued for your system.
  2. Send a run. Post your records to /import_runs as one JSON document. Besso stores it and answers 202 Accepted at once.
  3. Follow the run. Besso applies the records in the background. Poll the run until it finishes, then read the result of each record.

Your records are keyed by your own IDs. Sending a record Besso already has updates it, and sending it again unchanged does nothing, so a run can always be sent again safely.

Environments

Each Besso customer has its own environment, often with a test environment next to production. Each environment has its own API host and its own credentials: a credential for a test environment cannot get a token for production. Besso gives you the host and a credential for each environment you integrate with.

Files

  • openapi.yaml: this API as an OpenAPI 3.1 description, for code generators and API clients such as Postman.
  • import-run.schema.json: the JSON Schema (draft 2020-12) of a run, to check a run before you send it.
Servers
The API host of the Besso environment you send to.
https://{host}/api/integrations/v1