API Documentation

Everything you need to interact with AccessGrid.

Webhooks

AccessGrid can send webhook notifications to your server when events occur. Webhooks use the CloudEvents specification for event delivery.

Configure webhooks in your AccessGrid console.

We use simple bearer tokens for authentication, which is generated whenever you create a new webhook. In general if your server responds with either 200, or 201, then we will not send the event occurrence again.

If we cannot reach your server, or you respond with non 200/201 response code, we will try again for up to 6 hours before dropping the delivery attempts.

spec_version

string

All

id

string

All

source

string

All

type

string

All

data_content_type

string

All

time

string

All

data

object

All

access_pass_id

nullable string

Access pass

card_template_id

nullable string

Card template

landing_page_id

nullable string

Landing page

credential_profile_id

nullable string

Credential profile

account_id

nullable string

Account balance

organization_name

nullable string

Account balance

current_balance

nullable number

Account balance

threshold

nullable number

Account balance

amount_below_threshold

nullable number

Account balance

protocol

nullable string

Access pass
Card template

metadata

nullable object

Access pass
Card template

device

nullable object

Access pass

card_number

nullable string

Access pass

site_code

nullable string

Access pass

file_data

nullable string

Access pass

Request

Response

Empty

List Webhooks

Enterprise only
Contact us

Retrieve a paginated list of webhooks configured for your account.

page

nullable integer

All

per_page

nullable integer

All

Request

Response

Empty

Create Webhook

Enterprise only
Contact us

Create a new webhook to receive event notifications. URL must be reachable and at least one event must be subscribed.

name

string

All

url

string

All

auth_method

nullable string

All

subscribed_events

array

All

Request

Response

Empty

Delete Webhook

Enterprise only
Contact us

Delete a webhook by ID.

webhook_id

string

All

Request

Response

Empty