Skip to main content

Get All Events

Introduction

The Get All Events API provides a list of all events listed by the authenticated user.

Retrieve All Events

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

Endpoint

https://api.paydexp.com/api/v1/

Authorization

The API uses Basic Authentication. All requests must include an Authorization header with valid API credentials.

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 all events using HTTP POST requests.

curl --location --request POST 'https://api.paydexp.com/api/v1/' \
--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",
"images_path": "https://example.com/images/concert.jpg"
},
{
"id": 124,
"name": "Tech Conference",
"description": "Annual technology conference",
"venue": "Convention Center",
"start_date": "2026-01-20",
"start_time": "09:00:00",
"end_date": "2026-01-22",
"end_time": "18:00:00",
"currency": "USD",
"status": "active",
"images_path": "https://example.com/images/tech-conf.jpg"
}
],
"message": "Events retrieved successfully."
}

Conclusion

The Get All Events API provides a list of all events listed by the authenticated user. You can use this API to retrieve event details such as event name, venue, start date, ticket price range, and more.