Skip to main content
POST
/
api
/
v1
/
auth
/
post-login
Sync user after Auth0 login
curl --request POST \
  --url https://handauncle-backend-prod-205012263523.asia-south1.run.app/api/v1/auth/post-login \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "userId": "<string>",
  "email": "jsmith@example.com",
  "name": "<string>",
  "picture": "<string>",
  "connection": "<string>",
  "event": "<string>",
  "metadata": {}
}
'
{
  "success": true,
  "data": {
    "status": "accepted"
  },
  "meta": {
    "timestamp": "2023-11-07T05:31:56Z",
    "requestId": "<string>"
  }
}
Legacy hook used after Auth0 logins to sync profile updates. Still available for backward compatibility with older Actions.

Authorizations

Authorization
string
header
required

Auth0 access token for registered users.

Body

application/json
userId
string

Auth0 user ID (sub).

email
string<email>
name
string
picture
string<uri>
connection
string
event
string

Event type sent by Auth0 Action.

metadata
object

Response

Webhook acknowledged

success
enum<boolean>
required
Available options:
true
data
object
required
meta
object
required