Beyond
Gates

Beyond Gates integration API

Send your registrants to Beyond Gates as they sign up on your platform. At the event, they check in with the QR code your platform already issued them: they need no second ticket.

There are three ways to connect, and they all work the same way once a registrant reaches us:

MethodWho calls whomRegistrant reaches us
PushYou call our endpoint with an API keyImmediately
WebhookYou call our endpoint, signing each requestImmediately
PullWe call your API on a scheduleWithin 30 seconds

The API uses JSON over HTTPS. You can send registrants in your own format: we set up how your fields correspond to ours with you, once. People also register on the event day, so send each registrant as soon as they sign up.

Every endpoint is under /api/v1. Within v1 we only add: new optional fields and new endpoints, so an integration that ignores fields it doesn't know keeps working. A change that would break yours (a field renamed or removed, a value that means something else) comes as /api/v2, and v1 keeps working alongside it.

Base URL
https://api.beyondgates.net

Authentication

Each integration belongs to one event and has its own endpoint. We send you its integration_id with its credentials when we set it up, first for a test event, then for the live one.

  • Push authenticates with an API key starting with bgk_, sent as Authorization: Bearer bgk_… or X-Api-Key: bgk_….
  • Webhooks authenticate with a signature of each request: see Signing requests.
  • Pull: we call your API with a token or key you give us.
Keep keys and signing secrets on your servers, never in a browser or mobile app. If one leaks, ask us to rotate it: the old one stops working immediately.
Authenticated request
curl https://api.beyondgates.net/api/v1/integrations/$INTEGRATION_ID/inbound \
  -H "Authorization: Bearer $BEYOND_GATES_KEY" \
  -H "Content-Type: application/json" \
  -d '[]'

# or, if your client can't set Authorization:
curl https://api.beyondgates.net/api/v1/integrations/$INTEGRATION_ID/inbound \
  -H "X-Api-Key: $BEYOND_GATES_KEY" \
  -H "Content-Type: application/json" \
  -d '[]'

Errors

We answer with standard HTTP status codes. A 200 means the request was processed, but individual registrants can still fail: read failed and errors in the ingest summary.

StatusMeaning
200Processed; see the counts and errors in the summary
400The body is not valid JSON
401Missing or wrong API key or signature, or the integration is paused
403This integration is set up for Pull and accepts no requests
413The request is too large: send the registrants in smaller batches
5xxA temporary problem on our side: retry

Errors other than 200 come with a JSON body whose message says what went wrong.

Error body
{
  "statusCode": 401,
  "message": "Invalid API key",
  "error": "Unauthorized"
}

Retries and idempotency

Every request is safe to repeat. A registrant is identified by your id: sending it again updates the earlier record, or leaves it unchanged, and never creates a duplicate.

  • Retry 5xx responses, timeouts and network errors with a backoff, for example after 10 s, 1 min, 5 min and 30 min.
  • Don't retry 400, 401, 403 or 413 as they are: fix the request first.
  • We apply registrants in the order they arrive. Send the full current record each time, not only the changed fields, so a late retry can't bring back old data.
  • Set your client timeout to 30 seconds.

Limits

LimitValue
Registrants per request1,000; send more in further requests
Barcode200 characters, unique within the event
Name, email200 characters
Pull frequencyEvery 30 seconds by default, every 10 seconds at most

A request is answered when processing ends, typically in under a second. Registrants beyond the first 1,000 in a request are not processed, and the ingest summary says so in errors.

Registrants

The registrant object

One person registered for the event. Only id and name are required; send the barcode too, because it is what the attendee scans at the event. If your platform has no format of its own, use these field names.

Attributes

idstringRequired
Your unique, stable id for the person in this event. A record with the same id updates the earlier one.
namestringRequired
Full name. Separate first and last name fields work too.
barcodestringRecommended
The exact value in the QR code you issued to the attendee, character for character: it is what we read when they check in. Letters, digits and - _ / . :; if your QR code holds a URL, send the whole URL. If it's missing, we use id.
categorystringRecommended
Your ticket class or attendee type, as a stable code such as VIP. Send us the codes you use before go-live.
statusstring
Cancels a registration when it holds one of the values agreed during setup, such as cancelled. A cancelled registrant can't check in.
emailstring
Contact email.
phonestring
Any format, such as 0551234567 or +966551234567.
languagestring
ar or en; values such as Arabic also work.
extra fieldsany
Other details you want to share, such as company or job title. We agree the list during setup.
The registrant object
{
  "id": "98123",
  "name": "Sara Al-Qahtani",
  "email": "sara@example.com",
  "phone": "+966551234567",
  "language": "ar",
  "category": "VIP",
  "barcode": "EXT-2026-98123",
  "status": "confirmed",
  "company": "Acme",
  "job_title": "CTO",
  "updated_at": "2026-10-01T09:30:00Z"
}

Sending your own format

You don't have to rename anything. Send registrants as your platform already stores them, nested and named your way, and we set up once, on our side, which of your fields holds the name, the barcode and so on.

  • Fields can sit inside nested objects and lists, such as a mobile number under a contact object.
  • A name can come as separate first and last name fields.
  • The list of registrants can sit anywhere in your body, for example under data.attendees.

To set this up, send us one real record from your platform.

Your format, as it is
{
  "data": {
    "attendees": [
      {
        "uid": 98123,
        "person": {
          "first_name": "Sara",
          "last_name": "Al-Qahtani",
          "contact": { "mail": "sara@example.com", "mobile": "0551234567" }
        },
        "ticket": { "class": "VIP" },
        "qr_value": "EXT-2026-98123",
        "state": "active",
        "org": { "name": "Acme" }
      }
    ]
  }
}
Push API

Send registrants

POST/api/v1/integrations/{integration_id}/inbound

Creates or updates registrants. Send one or several per request, whenever they register or change; a nightly full sync is also fine. Returns an ingest summary.

Path parameters

integration_idstringRequired
Your integration's id, sent with your credentials.

Headers

AuthorizationstringRequired
Bearer followed by your API key. X-Api-Key works instead.
Content-TypestringRequired
application/json

Body

registrant | registrant[] | objectjsonRequired
One registrant, an array of them, or a wrapper object with the list inside, such as { "data": { "attendees": [ … ] } }.
POST/api/v1/integrations/{integration_id}/inbound
curl https://api.beyondgates.net/api/v1/integrations/$INTEGRATION_ID/inbound \
  -H "Authorization: Bearer $BEYOND_GATES_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "id": "98123",
      "name": "Sara Al-Qahtani",
      "category": "VIP",
      "barcode": "EXT-2026-98123",
      "status": "confirmed"
    }
  ]'
Response
{
  "received": 3,
  "created": 1,
  "updated": 1,
  "unchanged": 0,
  "cancelled": 0,
  "failed": 1,
  "errors": [
    {
      "externalId": "98125",
      "reason": "Unknown category \"PRESS\""
    }
  ]
}
Webhooks

Sending webhooks

POST/api/v1/integrations/{integration_id}/inbound

Your platform posts to our endpoint whenever a registrant is created, updated or cancelled. The endpoint and body shapes are those of Send registrants; instead of an API key, each request carries a signature.

Keep your own event names and notification shape: we read the registrant inside each notification, for example under data. One notification can also carry several registrants.

We answer 200 once the notification is processed, within a second or two. Retry anything else, as described in Retries.

A webhook request
POST /api/v1/integrations/{integration_id}/inbound HTTP/1.1
Host: api.beyondgates.net
Content-Type: application/json
X-Signature: 3f1c0b9e5a…d27e

{
  "event": "registrant.created",
  "data": {
    "id": "98123",
    "name": "Sara Al-Qahtani",
    "category": "VIP",
    "barcode": "EXT-2026-98123",
    "status": "confirmed"
  }
}

Signing requests

Sign every webhook with the signing secret we share with you. The signature is the HMAC-SHA256 of the raw request body, keyed with the secret, in a header:

Headers

X-SignaturestringRequired
The signature as hex or base64. A sha256= prefix is accepted. If your platform already uses another header name, such as X-Hub-Signature-256, we use yours.
Sign the exact bytes you send. Serialising the JSON again after signing, or letting your HTTP client re-encode it, changes the bytes and the request is refused with 401.
Sign and send
BODY='{"event":"registrant.created","data":{"id":"98123","name":"Sara Al-Qahtani"}}'
SIGNATURE=$(printf '%s' "$BODY" | openssl dgst -sha256 -hmac "$SIGNING_SECRET" | sed 's/^.* //')

curl https://api.beyondgates.net/api/v1/integrations/$INTEGRATION_ID/inbound \
  -H "Content-Type: application/json" \
  -H "X-Signature: $SIGNATURE" \
  --data-raw "$BODY"

Updates and cancellations

To change a registrant, send the full record again with the same id: a new name, category or barcode replaces the old one.

To cancel one, send it with its cancelled status. Send the registrant, not only an id or an event name, so we can match it. Sending it again later with an active status restores it.

A registrant you delete on your side without telling us stays registered, and can still check in.

A cancellation
{
  "event": "registrant.cancelled",
  "data": {
    "id": "98123",
    "name": "Sara Al-Qahtani",
    "category": "VIP",
    "barcode": "EXT-2026-98123",
    "status": "cancelled"
  }
}
Pull

How we fetch

If your platform can't send requests but already has an API, we call it. Every 30 seconds by default we ask for the registrants changed since our last successful request and follow your pagination. Registrants fetched this way are handled exactly like pushed ones.

  • The time we send is when our previous successful request started, minus 5 seconds of overlap, in ISO 8601 UTC.
  • Without a change filter we fetch the whole list each time, which suits events of up to a few thousand registrants.
  • On the event day we can fetch every 10 seconds, if you agree.

Send us your API documentation and a token for a test event to set this up.

Our request to your API
GET /v1/attendees?updated_since=2026-10-01T09:29:55.000Z&cursor=200 HTTP/1.1
Host: api.your-platform.com
Authorization: Bearer <your token>
Accept: application/json
Your response
{
  "data": {
    "attendees": [
      {
        "id": "98123",
        "name": "Sara Al-Qahtani",
        "category": "VIP",
        "barcode": "EXT-2026-98123",
        "status": "confirmed",
        "updated_at": "2026-10-01T09:30:12Z"
      }
    ]
  },
  "meta": { "next_cursor": "400" }
}

Your API requirements

  1. Reachable over HTTPS on a public address, without redirects to another URL.
  2. Authentication in request headers, such as Authorization: Bearer <token> or X-Api-Key.
  3. The event's registrants as JSON, by GET, or POST with a body we fill in. The list can sit anywhere in the response.
  4. A filter by last change taking an ISO 8601 UTC time, such as ?updated_since=…. Recommended.
  5. Cancelled registrants included in those changes, with their cancelled status. A registrant who disappears from your API stays registered.
  6. Optionally, long lists split into pages in one of the styles under Pagination. Without pages we read the whole list from one answer.
  7. An answer within 20 seconds.

If you restrict access by IP address, ask us for our server's address.

Pagination

We follow your pages until there are no more. Three styles are supported:

StyleHow it works
Page numberWe send page=1, 2, 3… and optionally a page size; we stop at an empty or short page
CursorYour response holds the next cursor; we send it back until it is empty
Next-page URLYour response holds the full URL of the next page; we follow it until there is none

Tell us the parameter names your API uses and where the cursor or next URL sits in the response.

Supported styles
# Page number: we send ?page=1, 2, 3… (and per_page if you name it)
GET /v1/attendees?page=2&per_page=100
→ stops at an empty page, or one shorter than per_page

# Cursor: you return the next cursor, we send it back
GET /v1/attendees?cursor=400
→ stops when the cursor is empty or the page has no records

# Next-page URL: you return the full URL of the next page
{ "data": [ ... ], "links": { "next": "https://api.your-platform.com/v1/attendees?after=400" } }
→ stops when there is no next URL
Objects

The ingest summary

What we did with the registrants in a request. Returned by Push and Webhook requests with a 200.

Attributes

receivedinteger
Registrants found in the request.
createdinteger
New registrants added.
updatedinteger
Registrants whose details changed.
unchangedinteger
Registrants we already had exactly as sent.
cancelledinteger
Registrants cancelled by this request.
failedinteger
Registrants we couldn't store; see errors.
errorsarray of objects
One entry per failed registrant, up to 50.
The ingest summary
{
  "received": 3,
  "created": 1,
  "updated": 1,
  "unchanged": 0,
  "cancelled": 0,
  "failed": 1,
  "errors": [
    {
      "externalId": "98125",
      "reason": "Unknown category \"PRESS\""
    }
  ]
}
Go live

Testing checklist

We start on a test event with its own credentials, and switch to the live event once registrants arrive as expected and your QR codes read correctly at our end.

What we need from you

  • The method you choose: Push, Webhook or Pull
  • One real registrant record, or for Pull your API documentation and a test token
  • Your category codes, and the status values that mean cancelled
  • A sample of what your QR codes contain
  • Expected registrations on the event day and the peak per minute, and a contact for that day

Test steps

  1. Send three registrants, one per category you use. We confirm each arrived as expected.
  2. Change one registrant's name and send it again: the summary counts it as updated, not created.
  3. Cancel one: the summary counts it as cancelled, and that registrant can no longer check in.
  4. We scan sample QR codes from your platform to confirm we read them.
  5. Register someone new on your platform; we confirm when they arrive, to measure the delay together.