Skip to content

API Reference

Based Page provides an HTTP API for creating and managing deployments.

Base URL

https://api.based.page

Authentication

Most endpoints require a valid API key in the Authorization header:

Authorization: Bearer bp_xxxxx

See Authentication for details on obtaining and managing API keys.

Content Type

Requests and responses use JSON (application/json).

Endpoints

Deployments

MethodPathDescription
POST/deployCreate a new deployment
GET/deploy/:idGet deployment status
PUT/deploy/:idUpdate deployment content
DELETE/deploy/:idDelete a deployment
GET/deploysList all deployments

Error Handling

All error responses return a JSON object with an error field. See Errors & Rate Limits for status codes, rate limits, and examples.

Deploy apps from conversation.