// docs · quickstart
From zero to first call in 5 min.
- 1
Create an API key
From your account page, click New API key. Copy it — it'll only be shown once.
- 2
Verify the key works
curl https://motion.shegerpay.com/api/v1/me \ -H "Authorization: Bearer mtn_live_xxxxxxxxxxxxxxxxxxxxxxxx"Response (200):
{ "uid": "abc123...", "tier": "pro", "rate_limit": { "limit": 10000, "used": 1, "remaining": 9999, "reset_at": 1780000000 } } - 3
List the prompt catalog
curl "https://motion.shegerpay.com/api/v1/prompts?category=Hero%20Section" \ -H "Authorization: Bearer mtn_live_xxxxxxxxxxxxxxxxxxxxxxxx" - 4
Fetch a full prompt body
curl https://motion.shegerpay.com/api/v1/prompts/stellar-ai \ -H "Authorization: Bearer mtn_live_xxxxxxxxxxxxxxxxxxxxxxxx"Pipe
.data.bodystraight into your AI tool of choice and ship.
JavaScript example
const KEY = process.env.MOTION_API_KEY;
const res = await fetch("https://motion.shegerpay.com/api/v1/prompts", {
headers: { Authorization: `Bearer ${KEY}` },
});
const { data } = await res.json();
console.log(`${data.length} prompts available`); Python example
import os, requests
key = os.environ["MOTION_API_KEY"]
r = requests.get(
"https://motion.shegerpay.com/api/v1/prompts/stellar-ai",
headers={"Authorization": f"Bearer {key}"},
)
print(r.json()["data"]["body"]) Want the agent to read the catalog directly?
Set up MCP →