You will receive the base URL when you get an API key. The examples below use
BASE_ENDPOINT as a placeholder for that URL.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Events API—upcoming and past events, and text list signup
BASE_ENDPOINT as a placeholder for that URL.| Field | Type | Description |
|---|---|---|
_id | string | The user ID. |
key | string | Your API key. |
{
"_id": "userId",
"key": "apikey"
}
| Field | Description |
|---|---|
eventId | Document ID (doc.id). |
url | Event URL, e.g. https://peerpop.io/events/{specialId}. |
flyer | Flyer image URL. |
title | Event title. |
date | Event date. |
time | Event time. |
address | Event address. |
venue | Venue name, or false if not set. |
organizer | Organizer (self or main co-host). |
live | Whether the event is live. |
description | Event description. |
startingPrice | Cheapest ticket price as a string, e.g. 10.00. |
tags | Array of tags assigned to the event. |
curl -X POST "BASE_ENDPOINT/v1/events/upcoming" \
-H "Content-Type: application/json" \
-d '{"_id": "userId", "key": "apikey"}'
| Field | Type | Description |
|---|---|---|
_id | string | The user ID. |
key | string | Your API key. |
{
"_id": "userId",
"key": "apikey"
}
| Field | Description |
|---|---|
eventId | Document ID (doc.id). |
url | Event URL, e.g. https://peerpop.io/events/{specialId}. |
flyer | Flyer image URL. |
title | Event title. |
date | Event date. |
time | Event time. |
address | Event address. |
venue | Venue name, or false if not set. |
organizer | Organizer (self or main co-host). |
live | Whether the event is live. |
description | Event description. |
startingPrice | Cheapest ticket price as a string, e.g. 10.00. |
tags | Array of tags assigned to the event. |
curl -X POST "BASE_ENDPOINT/v1/events/past" \
-H "Content-Type: application/json" \
-d '{"_id": "userId", "key": "apikey"}'
| Field | Type | Description |
|---|---|---|
_id | string | Your user ID. |
phone | string | Phone number formatted exactly as 10 digits with no spaces or punctuation, e.g. 6780001234. |
key | string | Your API key. |
{
"_id": "userId",
"phone": "6780001234",
"key": "apikey"
}
curl -X POST "BASE_ENDPOINT/v1/update_text_list" \
-H "Content-Type: application/json" \
-d '{"_id": "userId", "phone": "6780001234", "key": "apikey"}'