Skip to content

Getting started

Subscribe, register your website and generate your keys in your Hehllo account, then make your first call.

You need a registered Hehllo account. Meetings created with your keys are hosted by that account.

Get your API keys

1

Sign in at hehllo.com and click Developer in the top menu.

Hehllo top menu with the Developer item on the right
The Developer item opens Developer Settings.
2

Under API subscription, click Subscribe and pay with Stripe ($79/month).

  • The subscription is needed before you can add domains and keys.
  • Cancel any time with Cancel subscription. Your keys keep working until the end of the paid month; there is no refund for the rest of it.
  • Manage billing opens Stripe, where you can change your card and download invoices. Invoices are also listed under Billing history.
API subscription card: active, $79 per month, with Cancel subscription and Manage billing
Once you are subscribed, the card shows the next charge date.
3

Under Your domains, add the website your API calls come from, with a contact email, and click Add domain.

  • Website domain: a plain domain such as example.com, without https:// or www. (the www. form is included).
  • Contact email: an address at that domain, such as dev@example.com. If it is your Hehllo account email, the domain is active at once. Otherwise we email a confirmation link, valid for 24 hours.
  • localhost accepts any email, and works with Test keys only.
Your domains: the add form and a list with streammedia.be and localhost, both active
Each domain shows which keys may use it.
4

Under API keys, click Generate key, fill in the form and click Create.

  • Name: something you will recognise later, such as “Stream Media production”.
  • Environment: Test while you build, Live for production. Both create real meetings. With a Test key Hehllo sends no emails; you get the meeting links in the response. With the Live key Hehllo also emails the host and every guest. You can have one Live key, and it needs a website domain (not localhost).
  • Expires: optional. Leave empty for a key that lasts until you revoke it.

A key works only from your confirmed domains when it is called from a browser. Calls from your server, which send no Origin or Referer, are not limited by domain.

Generate key form with name, environment and expiry fields
5

Copy the key straight away and store it in your server's secret store.

Dialog showing the new key once, with Copy key and I've saved it buttons (key blurred in this picture)
The full key is shown once. The key in this picture is blurred.
Lost the key? Hehllo cannot show it again. Generate a new one and revoke the old one (for the Live key, use Regenerate).

Make your first call

Check that the key works. /v1/me tells you which account and key you are using.

Request
curl https://api.hehllo.com/v1/me \
  -H "Authorization: Bearer hhk_live_YOUR_KEY"
<?php
$ch = curl_init('https://api.hehllo.com/v1/me');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER     => [
        'Authorization: Bearer hhk_live_YOUR_KEY',
    ],
]);
$response = curl_exec($ch);
$status   = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
$data = json_decode($response, true);
const res = await fetch('https://api.hehllo.com/v1/me', {
  headers: {
    'Authorization': 'Bearer hhk_live_YOUR_KEY',
  },
});
const data = await res.json();
import requests

r = requests.get(
    "https://api.hehllo.com/v1/me",
    headers={
        "Authorization": "Bearer hhk_live_YOUR_KEY",
    },
)
data = r.json()
Response
{
  "success": true,
  "data": {
    "user_id": 2,
    "api_key_prefix": "hhk_live_A4ao",
    "name": "Stream Media production",
    "environment": "live",
    "scopes": ["schedules:read", "schedules:write", "guests:invite"],
    "usage_today": 3,
    "rate_limit_per_minute": 100
  },
  "meta": { "request_id": "20134726-a451-4a49-bea5-2e19999a9a7d" }
}

If you get 401, check that the header is spelled exactly as above and the key was copied completely. See Errors.

Check the service

/v1/health needs no key. Use it for monitoring.

Browser showing the JSON response of /v1/health with status ok

Manage your keys

Every key is listed with its first characters, environment, when it was created and last used, expiry and status.

API keys table with active and revoked keys
Active keys show Revoke (and Regenerate for the Live key). You can have up to 10 active keys, one of them Live.

To revoke a key, click Revoke and confirm. Calls with that key fail with 401 immediately.

Confirmation dialog: Revoke this key? Staging, with Revoke key and Cancel buttons

Regenerate (Live key) replaces the key in one step: the new key is shown once and the old one stops working at the same moment, so update your servers right away.

If your subscription ends, the Live key answers 402 SUBSCRIPTION_REQUIRED until you subscribe again. Test keys keep working.

Rotating a Test key without downtime

  1. Generate a new Test key.
  2. Deploy it to your servers.
  3. Check in Developer Settings that the old key's Last used stops moving.
  4. Revoke the old key.