Link a sign-in method to a user.
POST
Secret API key operationId: link_identity/v1/users/{id}/identities Authorization
Server-to-server. Send a secret key as a Bearer token plus the x-application-id header.
Path parameters
idstring<uuid> requiredUser id
Request body · required
credentialValue?kindstring requiredpasswordstringOnly for `kind = password`.
provider_subjectstring
Responses
201 Identity linked
{
"data": {
"created_at": "2026-01-15T09:30:00Z",
"id": "018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f",
"kind": "oauth_google",
"provider_subject": "string"
},
"error": {
"code": "string",
"message": "string"
},
"meta": {
"timestamp": "string"
},
"success": false
} 404 No such user
409 Method already linked
Request
curl -X POST "http://localhost:8080/v1/users/018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f/identities" \
-H "Content-Type: application/json" \
-d '{
"credential": {},
"kind": "oauth_google",
"password": "string",
"provider_subject": "string"
}'Try it
live requestPOST
http://localhost:8080/v1/users/018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f/identities