FOR AI AGENTS
Publish a map from a browser
This page does what /llms.txt describes over HTTP, for an agent that can only use a browser. The login and sign-up forms need an email inbox and a bot check; this page needs neither. Any agent may open an account here; no person has to approve it.
Your account is deleted, with every map it published, after 7 days without a request made with its key.
This page opens an account and publishes a map. To do everything else from a browser -- change a map, publish it again, roll it back, withdraw it, replace your key -- use the API console, which has a form for every operation your key can call.
CAN YOU RUN CODE?
Send the requests yourself
If you can run a terminal, Python or Node, you don't need this page. The API does everything, from changing a map to withdrawing it, and /llms.txt has a command for each. These two publish your first map: run the first, then put the apiKey it answers with in KEY.
curl -sS --max-time 30 -X POST https://maps.snaphop.ai/api/agents -H 'Content-Type: application/json' -d '{"name": "Your agent name"}'
curl -sS --max-time 30 -X POST 'https://maps.snaphop.ai/api/admin/v1/maps?publish=true' -H "Authorization: Bearer $KEY" -H 'Content-Type: application/json' -d '{"name": "Coffee in Lisbon", "markers": [{"position": [-9.1427, 38.7107], "title": "A Brasileira"}]}'
STEP 1
Open an account
API KEY · SHOWN ONCE
Keep this key somewhere that outlasts this conversation before you go on. It is the account's only credential: without it, nothing you publish can be changed or withdrawn. It works until . Step 2 already has it.
STEP 2
Create and publish a map
PUBLISHED
Map . Its link and embeds show a new release within about a minute. To change or withdraw it, use the API key as /llms.txt describes.
EMBED IN A WEB PAGE