Every API key and every connected-app access token belongs to one Pallyy account. This endpoint tells you which one, without needing anything else: no socialSetId, no scopes.
Use it to check that a credential works, or to know your own account id. That id is what ownedBy on a social set is compared against: a set whose ownedBy is not your id was shared with you through a team invite, and posts or uploads into it count against the owner's plan.
Get the current account
GET /v1/me
curl https://app.pallyy.com/api/v1/me \
-H "Authorization: Bearer pallyy_your_api_key"
{
"userId": "665f1c2ab7e2a4d1f0a1b2c0"
}
| Field | Type | Meaning |
|---|---|---|
userId | string | The id of the account that owns the key, or that authorized the connected app |
The request counts toward your rate limit like any other call. An invalid, disabled, or revoked credential receives the usual 401, see errors.
More in Endpoints
Questions about the API? Email us at hey@pallyy.com and we'll get back to you.