Quickstart

Get started with the Qariyb REST API. This guide covers authentication and making your first API call to retrieve events.

Get your API keys

  1. Log in to your Qariyb organizer account
  2. Navigate to Settings → Developer → API keys
  3. Click Create API Key
  4. Copy and securely store your secret key (sk_live_…) — server-side use only, never in browser code

Make your first request

Once you have your secret key, you are ready to make your first request. The Qariyb REST API uses secret key authentication with a Bearer token. Here is how to retrieve a list of your events:

GET
/api/v1/events
curl -G https://api.qariyb.com/api/v1/events \
  -H "Authorization: Bearer sk_live_..." \
  -H "Accept: application/json"

Understanding the response

The Qariyb API returns JSON responses with a consistent structure:

Success Response

{
  "success": true,
  "code": 100,
  "locale": "en",
  "message": "OK",
  "data": {
    // Your requested data
  }
}

All successful responses include:

  • success: Boolean indicating request success
  • code: Qariyb API status code (see Error Codes)
  • data: The requested resource data

What is next?

Now that you have made your first API request, explore these resources:

API Reference:

Guides:

Was this page helpful?