App Onboarding
Register your app and start receiving events from OlaClick companies.
How it works
1. Register your app
Fill out the registration form with the following information:
Register your app →Once approved, the OlaClick team will send your client_id and client_secret to the email you provided in the form. Your app will then be listed in the OC App Store for the countries you selected.
2. Receive binding events
When a company activates your app from the OC App Store:
- OlaClick creates a connection between the company and your connector (initial status depends on the connector's configuration — typically
pending) - OlaClick creates a webhook configuration for that company pointing to your webhook URL
- OlaClick sends a
CONNECTION_CREATEDevent to your webhook
The event's data field contains:
| Field | Description |
|---|---|
merchant_id | The company identifier — store it for authentication |
webhook_url | Your registered webhook URL |
subscribed_events | Event types the webhook is subscribed to |
Respond with 200 OK to confirm receipt.
Event reference:
CONNECTION_CREATED— full payload and schema.
Each connection is unique per company. Never mix data between companies.
3. Authenticate with the API
Use the OAuth 2.0 client credentials flow to obtain access tokens. See Authentication for full details.
- App Token (no
company_id) — for managing connections (KYC status updates) - Company Token (with
company_id) — for accessing company data (orders, invoices)
You can obtain a Company Token immediately after receiving the CONNECTION_CREATED event, regardless of the connection status. The connection status is informational — it reflects the KYC/onboarding state, not API access.
4. Complete homologation
Before going to production, complete the homologation process for each module. Each module has an independent homologation.
- Fiscal Notes → Homologation
Best Practices
- Respond 200 immediately and process events in background — long response times trigger retries and repeated failures can suspend your webhook
- Deduplicate by
event_id— retries may deliver the same event more than once - Cache tokens using
expires_inas TTL — on401, invalidate and request a new one, retry once, then stop - Verify signatures on every delivery — see Signature Verification
Next steps
- Fiscal Notes → Fiscal Notes Onboarding