Create remote tunnel
Remote Tunnels
Create remote tunnel
Create a new remote tunnel that exposes local ports via Cloudflare.
POST
Create remote tunnel
Body
application/json
Request body to create a new remote tunnel
One or more local ports to expose via the tunnel
If true, the tunnel is publicly accessible without Cloudflare Access authentication
Target a specific project by its prefixed short ID (proj-slug_shortId or proj_shortId), as returned by the projects API. Required for organization-scoped API keys; project-scoped keys may only pass their own project's short ID.
Pattern:
^proj(-.+_.+|_.+)$Response
200 - application/json
The request has succeeded.
Response after successfully creating a remote tunnel