Skip to main content
Every visualize call, MCP or REST, requires a developer API key with a positive credit balance. There is no unauthenticated or free tier: requests without a valid key return 401, and requests with an empty balance return 402.

1. Create an account

Sign up at developers.hemsy.ai. If you already have a Hemsy merchant dashboard login, sign in with the same email. Your developer account and its credit balance are separate from any store’s billing.

2. Buy credits

Credits are prepaid. No subscription. Go to Credits, pick a pack, and check out with Stripe. 1 credit is consumed per successful render; failed renders are not charged.

3. Create an API key

Go to API keys and create a key. The full key (hemsy_…) is shown once: only a hash is stored, so copy it immediately. You can revoke and re-issue keys at any time.

4. Send it as a Bearer token

Pass the key in the Authorization header on every request:
This is the same header for the MCP endpoint and the REST endpoint. If an MCP connector UI only supports OAuth or no-auth (and can’t send custom headers), use the keyed URL instead: https://api.hemsy.ai/mcp/hemsy_... with no authentication. See MCP.

Error responses

Error bodies include a developers_url pointer so agents can surface the top-up link to their users:
Treat API keys as secrets. Don’t ship them in client-side code. Proxy calls through your backend, or scope one key per agent deployment so you can revoke it independently.