The registrations endpoints give authenticated users a view of their upcoming and past event sign-ups. Each registration record includes the full event details — city, place, and images — so the mobile app can render the list without additional requests.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/astrxnomo/tourify/llms.txt
Use this file to discover all available pages before exploring further.
The endpoints to register for an event and to cancel a registration are documented on the Events page:
POST /api/events/{event}/register— register for an eventDELETE /api/events/{event}/register— cancel a registration
GET /api/my/registrations
Returns all event registrations belonging to the authenticated user, with each event’s city, place, and images eagerly loaded. Results are sorted by event date ascending, so the next upcoming event appears first.This endpoint requires authentication. Include your bearer token in the
Authorization header.auth:sanctum).
Response Fields
Returns a JSON array of registration objects.Unique identifier of the registration record.
ID of the registered user.
ID of the event that was registered for.
The full event object for this registration.
Timestamp when the registration was created.
Timestamp when the registration record was last updated.
Example request