Proxy
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
DELETE | |
POST |
List all proxy records
List all reverse proxies configured for the organization. Returns proxy records along with the maximum number allowed by the current plan.
Required API key scopes
organization:readPath parameters
- organization_idstring
Example request
GET /api /organizations /:organization_id /proxy_recordsExample response
Status 200
Create proxy records
Create a new managed reverse proxy. Provide the domain you want to proxy through. The response includes the CNAME target you need to add as a DNS record. Once the CNAME is configured, the proxy will be automatically verified and provisioned.
Required API key scopes
organization:writePath parameters
- organization_idstring
Request parameters
- domainstring
Response
Example request
POST /api /organizations /:organization_id /proxy_recordsExample response
Status 201
Retrieve proxy records
Get details of a specific reverse proxy by ID. Returns the full configuration including domain, CNAME target, and current provisioning status.
Required API key scopes
organization:readPath parameters
- idstring
- organization_idstring
Response
Example request
GET /api /organizations /:organization_id /proxy_records /:idExample response
Status 200
Delete proxy records
Delete a reverse proxy. For proxies in 'waiting', 'erroring', or 'timed_out' status, the record is deleted immediately. For active proxies, a deletion workflow is started to clean up the provisioned infrastructure.
Required API key scopes
organization:writePath parameters
- idstring
- organization_idstring
Example request
DELETE /api /organizations /:organization_id /proxy_records /:idExample response
Status 204 No response body
Create proxy records retry
Retry provisioning a failed reverse proxy. Only available for proxies in 'erroring' or 'timed_out' status. Resets the proxy to 'waiting' status and restarts the provisioning workflow.
Path parameters
- idstring
- organization_idstring
Response
Example request
POST /api /organizations /:organization_id /proxy_records /:id /retry