Get the API key owner
GET/me
Your Repostly plan, this key's scopes and expiry, your per-minute rate limits and useful app links. Works with any scope and without a paid plan (plan is "none" then; every other operation returns 403 PLAN_REQUIRED — upgrade at https://app.repostly.app/upgrade).
Errors
- 400Invalid request (details.fields names each problem)
- 401Missing, invalid, expired or revoked API key
- 403Missing scope (INSUFFICIENT_SCOPE) or no paid plan (PLAN_REQUIRED)
- 429Rate limit or upload capacity reached; wait for Retry-After
- 503Temporarily unavailable or outcome unconfirmed; check the resource before retrying a mutation
curl 'https://api.repostly.app/v1/me' \
-H "Authorization: Bearer $REPOSTLY_API_KEY"const response = await fetch('https://api.repostly.app/v1/me', {
headers: {
Authorization: `Bearer ${process.env.REPOSTLY_API_KEY}`,
},
});
const data = await response.json();
if (!response.ok) throw new Error(`${response.status} ${data.error.code}: ${data.error.message}`);
console.log(data);import os
import requests
response = requests.get(
"https://api.repostly.app/v1/me",
headers={
"Authorization": f"Bearer {os.environ['REPOSTLY_API_KEY']}",
},
)
if not response.ok:
error = response.json()["error"]
raise RuntimeError(f"{response.status_code} {error['code']}: {error['message']}")
print(response.json()){
"userId": "6650f1c2a4b3c2d1e0f98765",
"plan": "starter",
"key": {
"id": "6650f1c2a4b3c2d1e0f98766",
"name": "My brand",
"scopes": [
"string"
],
"expiresAt": "2026-11-01T09:00:00.000Z"
},
"rateLimits": {
"windowSeconds": 60,
"total": 1,
"writes": 1,
"uploads": 1,
"analytics": 1,
"creatorInfo": 1
},
"links": {
"app": "string",
"connectAccounts": "string",
"upgrade": "string",
"docs": "string"
}
}