Get an API key
Request access, create a key, and send it with every request.
Request access
Bevyl sets up each partner account by hand. Email us your company, what you want to build, and roughly how many videos a month you expect. Include your webhook URL if you have one.
Email hello@bevyl.aiWe create your account, send you a webhook signing secret, and invite you to the partner portal. There you add funds and create API keys.
Use your key
Send the key as a bearer token. This first call creates a workspace and is safe to repeat:
curl https://www.bevyl.ai/api/partner/v1/workspaces \
-H "Authorization: Bearer $BEVYL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"workspaceId": "customer-123", "name": "Tasty Burgers"}'Keys start with bvl_. The portal shows each key once, so store it right away. If a key leaks, revoke it in the portal. It stops working immediately.
Keep keys on your server. A key in a browser or mobile app can be stolen.
Name the workspace
Every request also names the customer workspace it acts on, as workspaceId. Send it in the JSON body of a POST and in the query string of a GET. The SDK adds it for you.
A missing or revoked key returns 401. A workspace you haven't created, or one that belongs to another partner, returns 403.