API console

Developer tools

Everything here runs in your browser against the live API. No account needed.

API console

Edit the path or pick a preset, then send the request.

GET

Press “Send request” to call the live API. No key needed.

OpenAPI & Postman

The OpenAPI 3.1 spec describes every endpoint, parameter and example response. To use it in Postman: Import → Link, paste the URL below, then choose Generate collection. Insomnia and most client generators accept the same URL.

Spec URL
https://www.ghanasevent.com/api/v1/openapi.json
Generate TypeScript types
npx openapi-typescript https://www.ghanasevent.com/api/v1/openapi.json -o ghanas-event.d.ts

Ticket button builder

Add a “Get tickets” button to any website, blog post or email. It links to the official event page, where people pay securely with MoMo or card.

HTML
<a href="https://www.ghanasevent.com/events/your-event-slug" target="_blank" rel="noopener"
   style="display:inline-block;padding:12px 22px;border-radius:999px;background:#C9973A;color:#111111;font:600 15px/1 system-ui,sans-serif;text-decoration:none">
  Get tickets on Ghanas Event
</a>

Stable public URLs you can build from API fields:

URLs
https://www.ghanasevent.com/events/{slug}                 Event page (buy tickets)
https://www.ghanasevent.com/events?city=Accra             Events in a city
https://www.ghanasevent.com/events?region=Ashanti         Events in a region
https://www.ghanasevent.com/events?category={slug}        Events in a category
https://www.ghanasevent.com/events?q=afrobeats            Search
https://www.ghanasevent.com/organiser/{slug}              Organiser profile