Userinfo

Read the person's activity with your application

GET
/api/v1/userinfo/activity/

Sign-ins to your application, consents given and withdrawn, blocks, and profile edits naming the fields your scopes and configuration disclose. Never another application's rows, an IP address or a user agent. Needs profile:activity; profile_section_hidden when your configuration hides the activity section.

Authorization

oauth2
AuthorizationBearer <token>

An OAuth2 access token issued through the authorization flow. Acts on a user's behalf, and reads only what that user's granted scopes disclose. A token whose user has since been deactivated or soft-deleted is rejected.

In: header

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.

Statuscode
401not_authenticated, authentication_failed
403permission_denied
404not_found, profile_section_hidden
429rate_limited

Before you run the sample

  • Replace ACCESS_TOKEN with your user's access token.
curl -X GET "https://example.com/api/v1/userinfo/activity/"
{  "entries": [    {      "application_id": "1400000000000000000",      "application_name": "string",      "at": "2019-08-24T14:15:22Z",      "changed_fields": [        "string"      ],      "city": "string",      "country": "string",      "device_kind": "string",      "failure_reason": "string",      "kind": "string",      "level": "string",      "method": "string",      "mfa_method": "string",      "outcome": "string",      "region": "string",      "scopes": [        "string"      ],      "social_provider": "string"    }  ],  "sign_in_retention_days": 0,  "truncated": true}