ilMeet
Contents
Developers · API v1

Authentication

Every request carries a Bearer token: an access token of your app, or an API key.

Operations

WayCredentialBest for
Server to server OAuth appClient ID + Client Secret → access token ilm_at_…, valid 1 hourServers and integrations. Create an app.
API keyilm_live_…, valid until you revoke itQuick scripts and tests. API keys.

Both are sent the same way, have the same scopes and the same rate limit.

Get an access token

POSThttps://api.ilmeet.com/v1/oauth/token

Exchanges the Client ID and Client Secret of a Server to server OAuth app for an access token (the OAuth 2.0 client_credentials grant). Note the URL: it is under /v1/oauth, not under /v1/public.

Required scope: none. The token carries the scopes of the app.

Headers

NameTypeRequiredDescription
AuthorizationstringRequiredHTTP Basic: Basic base64(client_id:client_secret).

Body parameters

NameTypeRequiredDescription
grant_typestringRequiredMust be client_credentials. Send the body as application/x-www-form-urlencoded or as JSON.

Request example

curl "https://api.ilmeet.com/v1/oauth/token" \
  -X POST \
  -u "$ILMEET_CLIENT_ID:$ILMEET_CLIENT_SECRET" \
  -d "grant_type=client_credentials"

Response

200 · JSON
{
  "access_token": "ilm_at_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "token_type": "bearer",
  "expires_in": 3600,
  "scope": "meetings:read meetings:write"
}
FieldTypeDescription
access_tokenstringThe token: ilm_at_ followed by 48 characters.
token_typestringAlways bearer.
expires_inintegerSeconds until the token expires: 3600 (1 hour).
scopestringThe scopes of the app, separated by spaces.

The response has Cache-Control: no-store. There is no refresh token: when the token expires, request a new one the same way.

Status codes

The token endpoint answers errors in the OAuth 2.0 form, which is different from the error format of the API:

401 · JSON
{
  "error": "invalid_client",
  "error_description": "Unknown client id, wrong client secret, or the app is not active"
}
HTTP statuserrorWhen it happens
200–OK. The body is the token shown above.
400invalid_requestgrant_type is missing.
400unsupported_grant_typegrant_type is not client_credentials.
401invalid_clientThere is no HTTP Basic header, the Client ID is unknown, the Client Secret is wrong, or the app is switched off or is not a Server to server OAuth app. The response has a WWW-Authenticate: Basic header.
429invalid_requestToo many token requests: more than 30 per minute for one Client ID, or more than 60 per minute from one IP address. Wait for the seconds in Retry-After.
500server_errorSomething went wrong on our side. Try again.

Send the access token (or an API key) in the Authorization header of every API request:

Header
Authorization: Bearer ilm_at_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

The examples in these docs read it from an environment variable named ILMEET_TOKEN.

A request with a missing, wrong, expired or revoked token or key gets HTTP 401 with the code unauthorized. See Errors.

When the token expires

  • A token works for 1 hour (expires_in is 3600). Keep it and reuse it for that hour; do not request a token for every call.
  • After that, API calls answer HTTP 401 (Invalid or expired access token). Request a new token and send the call again.
  • A token also stops working at once when the app's secret is rotated, or the app is switched off or deleted.
  • A scope removed from the app is removed from its existing tokens at once.

API keys

Simple API keys still work, and are handy for quick scripts. An account owner or admin creates a key on the Developer page of the portal (web.ilmeet.com/portal/admin/developer): name it, choose its scopes and copy it. The key is shown only once.

Header
Authorization: Bearer ilm_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  • A key is ilm_live_ followed by 40 characters. It does not expire; you can revoke it at any time on the same page.
  • An account can have up to 10 active keys.
  • A key is used exactly like an access token: put it in ILMEET_TOKEN and the examples in these docs work unchanged.
Keep your credentials secretUse Client Secrets, access tokens and API keys on your server only. Never put them in browser code or mobile app code.

Scopes

Scopes decide what an app or key may do. Choose only the scopes it needs. A request to an endpoint whose scope is missing gets HTTP 403 with the code forbidden.

ScopeAllows
meetings:readList and get meetings, invitation, participants, a host's meetings, past meetings, live participants
meetings:writeCreate, update, delete and end a meeting; every in-meeting control, cloud recording start and stop included
users:readList users
users:writeInvite, update and remove a user
recordings:readList and get recordings, the recordings of a meeting, transcript, summary
recordings:writeDelete and recover a recording
reports:readReports: meetings, users, daily
account:readGet account settings, get the account plan
account:writeUpdate account settings

Check your credentials

GET/me

Returns your organization and the app or key behind the request, with its scopes. Use it to check that a token or key works.

Required scope: none. Any valid access token or API key can call this endpoint.

Parameters

This endpoint takes no parameters.

Request example

curl "https://api.ilmeet.com/v1/public/me" \
  -H "Authorization: Bearer $ILMEET_TOKEN"

Response

200 · JSON
{
  "organization": {
    "id": "org_EXAMPLE789",
    "name": "Example Ltd",
    "plan": "basic"
  },
  "key": {
    "id": "app_EXAMPLE001",
    "name": "Booking system",
    "scopes": [
      "meetings:read",
      "meetings:write"
    ]
  }
}

In key, an access token reports the id, name and scopes of its app; an API key reports its own.

FieldTypeDescription
organizationobjectYour organization.
organization.idstringThe id of your organization.
organization.namestringThe name of your organization.
organization.planstringThe plan code of your account, in lowercase, e.g. basic, pro or business.
keyobjectThe credential used for this request.
key.idstringThe id of the app (access token) or of the API key used for this request.
key.namestringThe name of the app or key.
key.scopesarray of stringsThe scopes of the app or key.

Status codes

HTTP statusCodeWhen it happens
200–OK. The body is the JSON shown above.
401unauthorizedThe Authorization header is missing, or the access token or API key is wrong, expired or revoked.
429rate_limitedMore than 60 requests in a minute. Wait for the number of seconds in Retry-After.
500internalSomething went wrong on our side.

API call logs

The Developer page of the portal shows the API calls of your account for the last 7 days, newest first: the method, the path (without its query string), the HTTP status, how long the call took, and which app (by name) or API key (by its first 12 characters) made it. Calls that were refused with 403 or 429 are listed too. Tokens, keys and request bodies are never logged.

Questions about the API?

E-mail support@ilmeet.com and quote the X-Request-Id of the response you are asking about.

Contact support