Read this application's administrative activity log
The same allowlisted events the portal's Activity tab shows — application, key, webhook, domain, branding and billing administration. It is a fixed allowlist, so it never carries an end user's own account events.
Authorization
apiKey An API key, presented as Authorization: Bearer eitozx_…. Carries the Application's own authority rather than authority a user delegated to it, and reaches only users who currently hold a grant with that Application. An organization's key reaches every application the organization owns and names the one it acts on in the Onefold-Application header. Not interchangeable with an OAuth2 access token despite the shared scheme.
In: header
Header Parameters
The id of the application this call acts on. Required with an organization API key, which reaches every application its organization owns; ignored with an application's own key, which always acts on its application.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
Error codes
Every error response carries one of these in its code field. Branch on the code, never on the detail text.
| Status | code |
|---|---|
| 400 | validation_failed, parse_error, api_key_application_required |
| 401 | not_authenticated, authentication_failed |
| 403 | permission_denied, api_key_scope_missing |
| 404 | api_key_application_not_found |
| 429 | rate_limited |
Before you run the sample
- Replace
YOUR_API_KEYwith your API key. - The key needs the
activity:readscope, or no scopes at all.
curl -X GET "https://example.com/api/v1/manage/activity/"{ "count": 0, "next": "string", "previous": "string", "results": [ { "action": "string", "created_at": "2019-08-24T14:15:22Z", "id": "1400000000000000000", "metadata": { "api_key_id": "string", "name": "string", "prefix": "string", "scopes": [ "string" ] } } ]}Read one authorized user GET
A user without a currently-active grant is indistinguishable from one who does not exist: both answer `404` with `not_found`.
Read this application's analytics over time GET
The time series behind the portal's Analytics tab — sign-ins, authorizations, scope mix, method mix, failure reasons and monthly active users. How far back it reads follows your plan's analytics retention; `granularity` (`day`/`week`/`month`) is the only knob. Every figure is an aggregate — it never names an end user.