Cloudflare · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Cloudflare Magic IPsec tunnels API
9 actions
9 updates
phrasing
extends
openapi/cloudflare-magic-ipsec-tunnels-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Cloudflare's API. It is a proposal applied on top of the contract, not a document Cloudflare publishes.
What the actions change
x-apievangelist-phrasing
Targets 9
$.info
$.paths['/accounts/{account_id}/magic/ipsec_tunnels'].get
$.paths['/accounts/{account_id}/magic/ipsec_tunnels'].put
$.paths['/accounts/{account_id}/magic/ipsec_tunnels'].post
$.paths['/accounts/{account_id}/magic/ipsec_tunnels/psk'].post
$.paths['/accounts/{account_id}/magic/ipsec_tunnels/{ipsec_tunnel_id}'].get
$.paths['/accounts/{account_id}/magic/ipsec_tunnels/{ipsec_tunnel_id}'].put
$.paths['/accounts/{account_id}/magic/ipsec_tunnels/{ipsec_tunnel_id}'].delete
$.paths['/accounts/{account_id}/magic/ipsec_tunnels/{ipsec_tunnel_id}/psk_generate'].post
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Cloudflare Magic IPsec tunnels API
version: 1.0.0
extends: openapi/cloudflare-magic-ipsec-tunnels-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-23'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 8
- target: $.paths['/accounts/{account_id}/magic/ipsec_tunnels'].get
update:
x-apievangelist-phrasing:
intent: List Magic IPsec tunnels
effect: read
questions:
- Which Magic IPsec tunnels are configured on my account?
- Can I see all IPsec tunnels in one Magic account?
instructions:
- text: List IPsec tunnels in account {account}.
slots:
account: path.account_id
- text: Show every Magic IPsec tunnel on account {account}.
slots:
account: path.account_id
method: generated
generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/magic/ipsec_tunnels'].put
update:
x-apievangelist-phrasing:
intent: Update several Magic IPsec tunnels at once
effect: write
questions:
- Can I update many Magic IPsec tunnels in a single request?
- Is there a bulk update for IPsec tunnels?
instructions:
- text: Update all Magic IPsec tunnels in account {account}.
slots:
account: path.account_id
- text: Bulk-edit IPsec tunnels on account {account} with the new health check format.
slots:
account: path.account_id
method: generated
generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/magic/ipsec_tunnels'].post
update:
x-apievangelist-phrasing:
intent: Create a Magic IPsec tunnel
effect: write
questions:
- How do I set up a Magic IPsec tunnel to my network?
- What do I need to create an IPsec tunnel, like a Cloudflare endpoint and interface address?
instructions:
- text: Create Magic IPsec tunnel {name} in account {account} with Cloudflare endpoint {endpoint} and interface {interface}.
slots:
name: requestBody.name
account: path.account_id
endpoint: requestBody.cloudflare_endpoint
interface: requestBody.interface_address
- text: Set up a new Magic IPsec tunnel {name} on account {account} using PSK {psk}.
slots:
name: requestBody.name
account: path.account_id
psk: requestBody.psk
method: generated
generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/magic/ipsec_tunnels/psk'].post
update:
x-apievangelist-phrasing:
intent: Set pre-shared keys for Magic IPsec tunnels
effect: write
questions:
- How do I apply pre-shared keys to several Magic IPsec tunnels?
- Can I set PSKs for IPsec tunnels without saving them to the request body?
instructions:
- text: Set pre-shared keys {psks} on Magic IPsec tunnels in account {account}.
slots:
psks: requestBody.psks
account: path.account_id
- text: Apply PSKs {psks} to IPsec tunnels on account {account} without saving.
slots:
psks: requestBody.psks
account: path.account_id
method: generated
generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/magic/ipsec_tunnels/{ipsec_tunnel_id}'].get
update:
x-apievangelist-phrasing:
intent: Get details of one Magic IPsec tunnel
effect: read
questions:
- What are the settings of a specific Magic IPsec tunnel?
- Can I look up one IPsec tunnel by its ID?
instructions:
- text: Show Magic IPsec tunnel {tunnel} in account {account}.
slots:
tunnel: path.ipsec_tunnel_id
account: path.account_id
- text: Get the details of IPsec tunnel {tunnel} on account {account}.
slots:
tunnel: path.ipsec_tunnel_id
account: path.account_id
method: generated
generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/magic/ipsec_tunnels/{ipsec_tunnel_id}'].put
update:
x-apievangelist-phrasing:
intent: Update one Magic IPsec tunnel
effect: write
questions:
- How do I change the settings of a single Magic IPsec tunnel?
- Can I rename an IPsec tunnel or change its endpoint?
instructions:
- text: Update Magic IPsec tunnel {tunnel} in account {account} with name {name} and endpoint {endpoint}.
slots:
tunnel: path.ipsec_tunnel_id
account: path.account_id
name: requestBody.name
endpoint: requestBody.cloudflare_endpoint
- text: Rename IPsec tunnel {tunnel} on account {account} to {name}.
slots:
tunnel: path.ipsec_tunnel_id
account: path.account_id
name: requestBody.name
method: generated
generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/magic/ipsec_tunnels/{ipsec_tunnel_id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a Magic IPsec tunnel
effect: destructive
questions:
- How do I disable and remove a Magic IPsec tunnel?
- Can I delete one IPsec tunnel by its ID?
instructions:
- text: Delete Magic IPsec tunnel {tunnel} from account {account}.
slots:
tunnel: path.ipsec_tunnel_id
account: path.account_id
- text: Disable and remove IPsec tunnel {tunnel} on account {account}.
slots:
tunnel: path.ipsec_tunnel_id
account: path.account_id
method: generated
generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/magic/ipsec_tunnels/{ipsec_tunnel_id}/psk_generate'].post
update:
x-apievangelist-phrasing:
intent: Generate a PSK for a Magic IPsec tunnel
effect: write
questions:
- How do I generate a new pre-shared key for an IPsec tunnel?
- Can I generate a PSK for a Magic IPsec tunnel and keep it?
instructions:
- text: Generate a pre-shared key for Magic IPsec tunnel {tunnel} in account {account}.
slots:
tunnel: path.ipsec_tunnel_id
account: path.account_id
- text: Create a new PSK for IPsec tunnel {tunnel} on account {account}.
slots:
tunnel: path.ipsec_tunnel_id
account: path.account_id
method: generated
generated: '2026-11-23'
Work with this as data
Every overlay here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/cloudflare-magic-ipsec-tunnels-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.