Headers
-
X-API-Version
string Default value is
2025-03-25
.
Body
-
name
string The name of the user
-
email
string(email) The email address
-
id
string The ID of the user
-
linkedAccounts
array[object]
POST
/v1/users
curl \
--request POST 'https://api.sensay.io/v1/users' \
--header "X-ORGANIZATION-SECRET: $API_KEY" \
--header "Content-Type: application/json" \
--header "X-API-Version: 2025-03-25" \
--data '{"name":"John Doe","email":"user@example.com","id":"string","linkedAccounts":[{"accountID":"string","accountType":"discord"}]}'
Request examples
# Headers
X-API-Version: 2025-03-25
# Payload
{
"name": "John Doe",
"email": "user@example.com",
"id": "string",
"linkedAccounts": [
{
"accountID": "string",
"accountType": "discord"
}
]
}
Response examples (200)
{
"name": "John Doe",
"email": "user@example.com",
"id": "johndoe",
"linkedAccounts": [
{
"accountID": "string",
"accountType": "discord"
}
]
}
Response examples (409)
{
"success": true,
"error": "string",
"fingerprint": "14fceadd84e74ec499afe9b0f7952d6b",
"request_id": "xyz1::reg1:reg1::ab3c4-1234567890123-0123456789ab"
}