Skip to main content

Authentication

The Okasie Partner API uses Bearer token authentication. All requests must include a valid API secret.

Getting Your API Secret

1

Contact Okasie

Email info@okasie.be with your company details and integration use case
2

Receive Credentials

You’ll receive your API secret and assigned dealer profile IDs
3

Store Securely

Store your secret in environment variables or a secrets manager

Making Authenticated Requests

Include your API secret in the Authorization header:

Alternative: X-API-Key Header

You can also use the X-API-Key header:

Scopes

API secrets are granted specific scopes that control access:
By default, new partners receive read:listings and read:locations. Contact support to request write:listings scope.

Access Control

Your API key may be restricted to specific dealer profiles:
  • Global access: Can access all listings (rare, for aggregators)
  • Restricted access: Can only access assigned dealer profiles and their children
The response meta.partner.access shows your current access scope:

Security Best Practices

Never expose your API secret in client-side code or public repositories.
Use environment variables or a secrets manager like AWS Secrets Manager, HashiCorp Vault, or similar.
Contact support to rotate your API secret. Old secrets become invalid immediately after rotation.
All API requests must use HTTPS. HTTP requests will be rejected.
Include X-Request-Id in your requests for easier debugging and support.

Authentication Errors

Example Error Response

Next Steps

Rate Limiting

Understand request limits

API Reference

Start making API calls