Skip to main content

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:

  1. OlaClick creates a connection between the company and your connector (initial status depends on the connector's configuration — typically pending)
  2. OlaClick creates a webhook configuration for that company pointing to your webhook URL
  3. OlaClick sends a CONNECTION_CREATED event to your webhook

The event's data field contains:

FieldDescription
merchant_idThe company identifier — store it for authentication
webhook_urlYour registered webhook URL
subscribed_eventsEvent types the webhook is subscribed to

Respond with 200 OK to confirm receipt.

Event reference: CONNECTION_CREATED — full payload and schema.

danger

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)
info

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.

Best Practices​

tip
  • 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_in as TTL — on 401, invalidate and request a new one, retry once, then stop
  • Verify signatures on every delivery — see Signature Verification

Next steps​