Base URL
Every API request targets the following base URL:Endpoint types
Bondify exposes two categories of endpoints, each with different authentication requirements.Public session endpoints
The two session endpoints —POST /api/v1/generate/public and POST /api/v1/verify/public — are designed to be called from your frontend or mobile app. They do not require an Authorization header. You only need to supply a valid project_id in the request body.
| Endpoint | Purpose |
|---|---|
POST /api/v1/generate/public | Create a new auth session and receive a Telegram deeplink |
POST /api/v1/verify/public | Poll a session for its current status |
Developer endpoints
All endpoints under/api/v1/dev/* are authenticated and intended for server-side use. You must include a valid Bearer token on every request.
| Endpoint | Purpose |
|---|---|
GET /api/v1/dev/me | Retrieve the authenticated developer’s account details |
GET /api/v1/dev/projects | List all projects |
POST /api/v1/dev/projects | Create a new project |
PATCH /api/v1/dev/projects/:id | Update a project |
DELETE /api/v1/dev/projects/:id | Delete a project |
POST /api/v1/dev/projects/:id/regenerate | Rotate a project’s secret key |
GET /api/v1/dev/sessions | List all sessions across your projects |
GET /api/v1/dev/analytics | Fetch aggregated analytics |
GET /api/v1/dev/me returns your developer account object: { id, email, created_at }. Use it to confirm that your Bearer token is valid and to retrieve your account email programmatically.Request format
Send all request bodies as JSON and include theContent-Type header on every request that has a body:
Error format
When a request fails, the API returns a JSON object with a singleerror field describing what went wrong:
HTTP status codes
| Code | Meaning |
|---|---|
200 | Success |
400 | Bad request — missing or invalid parameters |
401 | Unauthorized — missing or invalid Bearer token |
404 | Not found — the resource does not exist |
500 | Server error — something went wrong on Bondify’s side |
Explore the API
Generate Session
Create an auth session and receive a Telegram deeplink to open on the user’s device.
Verify Session
Poll a session for its current status and retrieve the user’s Telegram identity on confirmation.
Projects API
List, create, update, and delete projects, and rotate secret keys.
Analytics API
Fetch session totals, conversion rates, daily breakdowns, and funnel data.