Juno
API reference

Check your API key

GET /v1/api/me

Verify a Juno-issued key and see what it can do: its organisation, API data environment, and scopes. The key environment is separate from a study's Test mode or Live mode. Any valid key may call this; no specific scope is required.

Responses

200 Successful Response
org_id
string <uuid>

The organisation this key belongs to.

environment
string

API data environment from the key prefix: 'test' or 'live'. This is separate from a study's Test mode or Live mode.

scopes
string[]

Scopes granted to this key, sorted. Calls needing a missing scope are refused.

cURL
curl 'https://api.heyjuno.co/v1/api/me' \
  -H 'Authorization: Bearer $JUNO_API_KEY'
Example response
{
  "org_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "environment": "string",
  "scopes": [
    "string"
  ]
}