Bahasa Indonesia
Get an API key

Endpoints

Account

Check your key, its scopes, and today's usage.

Get account info

GET/v1/me

Returns the account name, the key's scopes, and today's usage. Handy as a connection test. Works with any key.

curl https://api.wefluence.app/v1/me \
  -H "Authorization: Bearer $WEFLUENCE_API_KEY"
requests.get(f"{API}/me", headers=HEADERS).json()
await (await fetch(`${API}/me`, { headers })).json();
Response
{
  "object": "account",
  "brand": { "name": "Brand Name" },
  "key": {
    "label": "Marketing dashboard",
    "mode": "live",
    "scopes": ["campaigns:read", "content:read"],
    "expires_at": "2027-11-02T00:00:00.000Z"
  },
  "quota": { "per_minute": 60, "per_day": 5000, "used_today": 1 }
}