Key format
gk_live_. There is
currently only one environment (no separate gk_test_ keys) — every key is
a live key that spends real credits.
Sending the key
Authorization header get a 401 with
error: "unauthorized". See Errors & Rate Limits
for the full error shape.
Getting a key
Keys are issued automatically, no waiting on a human required. Two ways to get one:- Sign up at lite.gravitygtm.com — create an account, pick a plan (free trial or a paid pack) through Stripe Checkout, and your dashboard shows your key under Keys (shown once, right there — save it immediately, since it’s not emailed and the page won’t show it again). From the same dashboard you can also connect Slack whenever you want conversational access alongside the API — see Add Horizon to Slack.
- Call
POST /api/stripe/checkoutdirectly with{ "pack": "free" }(a $0, card-on-file free trial) or a paid pack id (pack_49/pack_199/pack_499— see Credits & Pricing). The response is a normal Stripe Checkout URL; completing it shows your key and starting credit balance once, right on the Checkout success page in your browser — save it immediately, since the page will not show it again and it is not sent by email. If you miss it, sign in to the dashboard above (a one-time “link an existing key” step connects it to an account) or contact support.