Developer portal

Developer portal

Everything you need to start building against the Distru API.

Get API access

API access must be enabled for your account by a Distru representative. Ask your Customer Support Representative to turn it on.

Once it's on, an admin creates API tokens in the Distru app under Settings → Integrations → Distru API at app.distru.com. A token carries the permissions of the admin who created it, so keep it on your server and never ship it to browsers or mobile apps.

Quickstart

All endpoints live under https://app.distru.com/public/v1/. Requests and responses are JSON.

curl "https://app.distru.com/public/v1/products" \
  -H "Authorization: Bearer $API_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json"

List responses are paginated. Follow the next_page URL in each response until it is null.

Documentation

Sandbox

A sandbox environment is available on request. Ask your Distru representative for sandbox credentials, so you can develop and test without touching production data.

Stay up to date

Sign up for the email list. It is the only channel where breaking changes to the API are announced before they ship.

On this page