Skip to content

Guide

Getting started

The partner API lets a business that lists on Raadiso, such as a hotel, keep its listings in step with its own system, read the messages buyers send about them, read their statistics and receive webhooks. This guide takes you from asking for access to your first listing.

The partner API is being built: this portal publishes its contract now, so you can plan your integration. The sandbox opens when the API does.

Ask for access

There is no sign-up form: Raadiso's staff create each organization and its API clients. To ask for access, contact the Raadiso team through Help and contact. Tell us:

  • your business's registered name, and the Raadiso account your listings appear under;
  • what you want to list (for example "hotel rooms in Hargeisa and Berbera") and about how many listings;
  • the scopes you need;
  • for hotels, the host name of your booking pages (book.example-hotel.com), so your listings can link to them;
  • whether your servers call from fixed addresses: we can limit your client to them.

You get a sandbox client first. A production client follows when your integration works in the sandbox and the API terms are signed; reading buyers' messages also needs a signed data-processing agreement.

Scopes

Each operation needs one scope. A client gets only the scopes staff grant it, and a token carries all of them.

Scope What it allows
listings:read Read your listings and their publication state
listings:write Create, replace and delete your listings
leads:read Read buyers' messages about your listings (needs the agreement)
stats:read Read your listings' daily statistics
webhooks:manage Add, change and remove the endpoints Raadiso sends events to

Get a token

Trade your client's id and secret for a token that lives five minutes. Keep the secret on your servers, in your secret store, never in code, a browser or an app.

curl -s -u "$RAADISO_CLIENT_ID:$RAADISO_CLIENT_SECRET" \
  -d grant_type=client_credentials \
  https://auth.raadiso.com/realms/raadi-partners/protocol/openid-connect/token

The answer's access_token goes into every call as Authorization: Bearer <token>. Authentication covers expiry, signed client assertions and rotating the secret.

Check your client

GET /partner/v1/organization answers who you are: your organization, the scopes your token carries, your listing quota and the booking hosts your listings may link to.

curl -s -H "Authorization: Bearer $TOKEN" https://api.raadiso.com/partner/v1/organization

Send your first listing

You address each listing by your own id, the externalId in the path. PUT /partner/v1/listings/{externalId} creates it the first time and replaces it after that; sending the same listing again changes nothing, so you can send your whole catalogue every night. The hotels guide has a complete example.

Follow what happens

  • A new listing, or one with new photos, is processing while Raadiso fetches the photos, then published. Read it back with GET /partner/v1/listings/{externalId}, or let webhooks tell you.
  • A refused request answers a problem with a code: see errors.
  • Every answer says how much of your quota is left: see rate limits.
  • Changes to the API are announced in the changelog, at least 180 days before anything you use stops working.