Skip to main content
POST
/
users
Create or update a user
curl --request POST \
  --url https://api.hacktionbase.com/v1/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "externalId": "user_123",
  "email": "jsmith@example.com",
  "anonymousId": "<string>",
  "attributes": {}
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
externalId
string
required
Example:

"user_123"

email
string<email>
anonymousId
string
attributes
object

Response

202

Accepted