.md to its URL.
Your API keys come from the Laces app. Open it on a computer at
app.laces.run, or download it for your phone at
laces.run/app. Sign in with an account that is an
owner or admin of your organization and open Settings → Developers.
That is the only place to create API keys and webhook endpoints: there is no
separate developer portal, and the Partner API has no routes for creating
them. If you can’t see Developers, your account isn’t an owner or admin.
What can I build with the Laces API?
With it you can:- List your organization’s events and show them on your own website, with ticket types, prices and the exact fees a participant pays.
- Take registrations and payment for those events: MTN Mobile Money and Airtel Money, and card where the event offers it. Laces handles the money, the tickets and the receipts.
- Hear about payment outcomes through signed webhooks.
- Brand the checkout with your color and logo, on the hosted and embedded checkout and the card payment page. See Brand your checkout.
-
Create and publish events from your own system, with the opt-in
events:writepermission: a draft event, its paid ticket types, and optionally a link to your own registration site. See Create and publish events. Theevent_idit returns is the id every other route in these docs takes. -
Collect payments on your own site, with no Laces event: for products, or
an event you run on your own pages. Laces turns this on per organization, and
the key needs
payments:write,orders:writeandorders:read. See Collect payments.
One organization has its own API clients, and a credential only ever sees
its own organization’s events and orders. There are no multi-organization
partner accounts.
Which route do I need?
Selling tickets? Use a Laces event: quickstart. Just collecting payments? For products, or an event you run on your own pages: collect payments.
For payments only, Laces does not issue tickets or QR codes, keep an
attendee list, hold places or stock, send reminders, check people in, or keep
your waivers and consents. You do.
Three ways to sell tickets
Hosted checkout
Add a Register button. The buyer pays on a Laces page and comes back to
your site. Works on a static site.
Embedded checkout
Add one
<script> tag. Laces checkout opens in a modal on top of your page.
New.Custom UI
Build your own event pages and checkout form. Your server calls the API with
an OAuth token.
Which integration should I pick?
- Start with hosted checkout if you want the least work. It is the most battle-tested path, handles every payment method, and your site never touches payment details.
- Pick embedded checkout if you want the same Laces checkout without the buyer leaving your page.
- Pick custom UI if you need full control of the look and flow, and you have a server to hold the client secret.
How the pieces fit
What credentials does the API use?
See Getting your API keys and Authentication.
What is the base URL?
Every path in these docs is relative to the base URL, so
POST /oauth/token means POST https://connect.laces.run/v1/oauth/token.
Code samples use $BASE (or LACES_BASE) for it. There is one environment:
you build and test against production with your live keys. See
Testing your integration.
What conventions does the API follow?
- JSON in, JSON out,
snake_casefield names. - Money is an integer in minor units, never a float. Always read the
event’s
currency. (UGX has no minor unit, so50000UGX is fifty thousand shillings.) - Timestamps are ISO 8601 UTC strings, for example
2026-11-15T04:00:00.000Z. - Every response carries
Cache-Control: private, no-storeand anX-Request-Idheader. Quote the request id when you contact support. - Every route except the token endpoint uses the Laces response envelope
(
code,message,data, and on failureerrorplus a stableerror_code). See Errors.
Next steps
Selling tickets? Quickstart
Keys, your first event list and a working checkout in about ten minutes.
Just collecting payments?
Products, or your own event: one amount, mobile money or card.
API reference
Every endpoint, with a live “Try it” playground.