Skip to main content
POST
/
users
/
webhook
/
onboarding
Process onboarding webhook from contract event
curl --request POST \
  --url http://localhost:4000/v1/users/webhook/onboarding \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "data": [
    "<array>"
  ],
  "timestamp": 1754920748,
  "topic": "v1.events"
}
'
{
  "success": true,
  "message": "<string>",
  "statusCode": 123,
  "timestamp": "<string>",
  "data": {
    "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
    "id_mini_app_onboarding": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
    "created_at": "2024-05-12T13:47:00.000Z",
    "twitter_handle": "gilbertsahumada",
    "id_mini_app": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
    "id_user": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
    "id_x": 12345678,
    "updated_at": "2024-05-13T10:00:00.000Z"
  },
  "path": "<string>"
}

Authorizations

Authorization
string
header
required

Use this format: ApiKey <your_api_key>

Body

application/json
data
array[]
required

Data of the event or transaction.

timestamp
number
required

Timestamp of when the payload was sent in seconds.

Example:

1754920748

topic
string
required

Topic of the data.

Example:

"v1.events"

Response

success
boolean
required
message
string
required
statusCode
number
required
timestamp
string
required
data
object
path
string