Web API

Press shift + S to search API reference.

Endpoint

Get user info

gethttps://api.airtable.com/v0/meta/whoami

Retrieve the user's ID. For OAuth access tokens, the scopes associated with the token used are also returned. For tokens with the user.email:read scope, the user's email is also returned.

Requirements

AuthenticationPersonal access token, OAuth integration
Scope

No scopes are required for this endpoint

User role

Any user

Billing plansAll plans

Response format

id
string

A user ID

email
optional<string>

The email address of the token's owner. Only returned if the token has the user.email:read scope.

scopes
optional<array of Scopes>

The scopes the token has. Only returned if accessing via an OAuth access token.

Request (example)
Copy
$
curl "https://api.airtable.com/v0/meta/whoami" \
-H "Authorization: Bearer YOUR_TOKEN"
200 – Response (example)
{
"id": "usrL2PNC5o3H4lBEi"
}
Request (example)
Copy
$
curl "https://api.airtable.com/v0/meta/whoami" \
-H "Authorization: Bearer YOUR_TOKEN"
200 – Response (example)
{
"email": "foo@bar.com",
"id": "usrL2PNC5o3H4lBEi"
}