Skip to main content

Get Event By Event ID

Introduction

The Get Event By Event ID API provides detailed information about a specific event based on the event ID. You can use this API to retrieve event details such as event name, venue, start date, event slots, and more.

Retrieve Event

To retrieve an event, you need to send an HTTP POST request to the following endpoint:

Endpoint

https://api.paydexp.com/v1/event/{event_id}

Authorization

Users need to include basic authentication credentials in the request headers.

Authorization: Basic {base64_encoded_username_password}

Where base64_encoded_username_password is a Base64-encoded string of your API username and password joined by a colon.

Code Examples

Below are code examples in different programming languages demonstrating how to retrieve event details using HTTP POST requests.

curl --location --request POST 'https://api.paydexp.com/api/v1/event/79' \
--header 'Authorization: ••••••'

Example of a successful response

{
"success": true,
"data": {
"id": 123,
"name": "Concert in the Park",
"description": "An amazing outdoor concert experience",
"venue": "Central Park",
"start_date": "2025-12-15",
"start_time": "19:00:00",
"end_date": "2025-12-15",
"end_time": "23:00:00",
"currency": "USD",
"status": "active",
"eventSlots": [
{
"id": 456,
"start_time": "2025-12-15 19:00:00",
"is_active": true,
"is_sold_out": false
}
]
},
"message": "Event retrieved successfully."
}

Conclusion

The Get Event By Event ID API provides detailed information about a specific event based on the event ID. You can use this API to retrieve event details such as event name, venue, start date, event slots, and more.