Skip to content
Docs
Qubitara Central

API and Developer Portal

Updated Version 1CENTRAL-68

How to authenticate to Qubitara Central's REST API, register webhooks and understand their retries, and stream logs to your own systems. This page is the reference scaffold; the authoritative endpoint list is the API reference linked from the Developer Portal in your tenant.

Authentication with API keys#

Every API request carries an API key in the Authorization header.

To create an API key

  1. Go to Operations → Developer Portal → API keys → Create key.

  2. Name the key for its purpose, for example hr-sync-reader.

  3. Choose the narrowest scopes the integration needs, and set an expiry.

  4. Click Create and copy the key. It is shown once.

Expected result: the key appears in the list with its scopes and expiry; the value is stored only in your secrets manager.

To call the API

bash
curl "<base-url>/users?count=50" \
  -H "Authorization: Bearer <api-key>"

Item

Value

Base URL

Shown under Operations → Developer Portal. Documentation samples use https://api.qubitara.com/central/v1/

Auth header

Authorization: Bearer <api-key>

Content type

application/json

Rate limits

Per-key limits, signalled with 429 and a Retry-After header. Back off for the number of seconds given

Pagination

Documented per resource in the API reference

Errors

Standard HTTP status codes with a JSON error body

Rotate keys at least yearly and immediately when a person who held one leaves. Revoke a key under Operations → Developer Portal → API keys or Operations → Settings → API keys.

Webhooks#

Central sends an HTTPS POST to your endpoint when an identity event happens, for example a user is suspended or an access request is approved.

To register a webhook endpoint

  1. Go to Operations → Webhook Deliveries → Register endpoint.

  2. Enter the HTTPS URL of your receiver.

  3. Select the events to deliver.

  4. Save. Central shows the signing secret and the names of the signature and timestamp headers. Copy the secret into your receiver's configuration.

Expected result: the endpoint is listed with status enabled, and a test delivery, if you send one, appears in its delivery history with a 2xx response.

Delivery and retries

Behaviour

Detail

Signature

HMAC-SHA256 over the timestamp and the raw request body, using the signing secret. Verify against the raw bytes, not re-serialized JSON

Timestamp

Reject deliveries whose timestamp is more than five minutes old to block replays

Success

Any 2xx response within the timeout. Return quickly and do the work asynchronously

Retries

Non-2xx responses and timeouts are retried with backoff. Make handlers idempotent on the event id, because a retry can deliver the same event twice

Manual retry

Operations → Webhook Deliveries, open the delivery, click Retry

Verification samples in Node.js and Python are on Webhooks.

Log streams#

Log streams export activity and audit events continuously to a SIEM or logging platform.

To add a destination

  1. Go to Operations → Log Streams → Add destination.

  2. Choose the destination type, enter its URL and credentials, and choose the event format.

  3. Save and click Test delivery.

Expected result: a test event arrives at the destination and parses correctly.

Destination type

Notes

HTTPS (JSON)

Generic receiver; one JSON object per event

Syslog (RFC 5424)

For collectors that speak syslog over TLS

Splunk HTTP Event Collector, Datadog, Elastic

Common named targets

Full API reference#

The complete resource and endpoint list, with request and response schemas, is published in the Developer Portal: go to Operations → Developer Portal → API reference.

Related#