Skip to content

REST API Reference

Every PocketBase tenant instance exposes a standard REST API over HTTPS.


Core Endpoints

1. List / Search Records

GET /api/collections/{collection}/records?page=1&perPage=30&sort=-created&filter=(active=true)

2. View Record

GET /api/collections/{collection}/records/{id}

3. Create Record

POST /api/collections/{collection}/records
Content-Type: application/json
{
"title": "My Post",
"published": true
}

4. Update Record

PATCH /api/collections/{collection}/records/{id}
Content-Type: application/json
{
"title": "Updated Title"
}

5. Delete Record

DELETE /api/collections/{collection}/records/{id}

6. Health Check

GET /api/health