Docs/Admin API/Users/Report event

Report event

Preview
POST/admin/v1/users/{userId}:event

Report a user event.

If the <externalId>@<connectionId> user identifier syntax is used and the user doesn't exist, they will be imported.

By default, the event is processed asynchronously.

path parameters

  • userId

    string

    Required

    The identifier of the user.

    This can be in the format <externalId>@<connectionId> where externalId is the identity provider user identifier and and connectionId is the User provider connection identifier.

body parameters

  • type

    enum

    The event type.

    If not specified, this defaults to CHANGED.

    Possible values:
    CHANGEDSIGNINSIGNUP
  • wait

    boolean

    Process the user action synchronously.

    Otherwise the action is processed in the background and errors won't be returned.

Returns

No response data.

curl https://api.userhub.com/admin/v1/users/auth0%7C123456789@conn_26yEiYymqy6ZmG:event \
  -H "Authorization: Bearer $USERHUB_ADMIN_KEY" \
  --json '{
    "type": "SIGNIN"
  }'
PreviousImport a user
NextCreate an API session

Build software thatmonetizes
$

Subscribe to monthly product updates

© 2025 UserHub

Integrations

    UserHub & Auth0UserHub & Stripe BillingUserHub & Google CloudUserHub & FirebaseUserHub & custom auth