Check API Key
Returns the API key making the call (its name, scopes and expiry) and the account it belongs to. Use it to test a key before you start sending data.
GET
/v1/meAuthentication
API key
Authorization: BearerSecret API key as Authorization: Bearer sk_live_…. Create it in the dashboard under Account › API Keys, with full access or only the areas it needs (see API Keys & Scopes). Keys are for servers only. Any valid key, no scope needed.
Responses
200Success
application/jsonkeyobjectThe key making the call. Never the secret.
accountobjectThe account (website) the key belongs to: id, name and url.
Errors
401Missing, invalid, revoked or expired API key.Request
curl --request GET \--url "https://api.pandaidx.com/v1/me" \--header "Authorization: Bearer {{api_key}}"
Response200 OK
{"key": {"id": "6ad0c3f2e4b1a2c3d4e5f700","name": "Zapier","prefix": "575a7872","scopes": ["contacts:read","contacts:write"],"access": "Contacts & leads: read & write","expiresAt": null},"account": {"id": "6ad0c3f2e4b1a2c3d4e5f601","name": "Ana Torres Realty","url": "anatorres.com"}}