Links

Event API

Overview

Buildable also allows you to emit and transact on messages using the Buildable API.

Generate a Buildable API Key

Head over to the Secret Keys section in the Settings page:
  1. 1.
    Click the + Create secret key button
  2. 2.
    Name your Secret Key
  3. 3.
    Click Create
Ensure you store the test and live keys somewhere safe (like a password manager).

Authentication

To authenticate and use any of the below API endpoints, you'll need to pass a Buildable Secret Key in the headers.
Header
Value
X-Buildable-Secret
BUILDABLE_SECRET_KEY

API Endpoints

get
post
https://events.buildable.dev
/emit
Emit a custom event
post
https://events.buildable.dev
/query
Query Events
post
https://events.buildable.dev
/update
Update Event
post
https://events.buildable.dev
/init
Initiate a transaction
post
https://events.buildable.dev
/transact
Run a transaction
post
https://events.buildable.dev
/get-full-event-name
Get the full event name

Swagger