Add passkey link
POSThttps://$CUSTOM-DOMAIN/auth/v1/users/me/passwordless/_link
Adds a new passkey authenticator link to the authenticated user and returns it in the response. This link enables the user to register a new device if current passkey devices are all platform authenticators. e.g. User has already registered Windows Hello and wants to register FaceID on the iPhone
Request​
- application/json
- application/grpc
- application/grpc-web+proto
Body
required
object
Body
required
object
Body
required
object
Responses​
- 200
- default
A successful response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
details
object
link string
expiration string
{
"details": {
"sequence": "2",
"creationDate": "2025-03-25T10:28:44.961Z",
"changeDate": "2025-03-25T10:28:44.961Z",
"resourceOwner": "69629023906488334"
},
"link": "https://acme.com/ui/login/login/passwordless/init?userID=182156264229306625&orgID=165947650742997249&codeID=200949504189388947&code=kFfsO8OizZPS",
"expiration": "3600s"
}
- Schema
- Example (from schema)
Schema
details
object
link string
expiration string
{
"details": {
"sequence": "2",
"creationDate": "2025-03-25T10:28:44.961Z",
"changeDate": "2025-03-25T10:28:44.961Z",
"resourceOwner": "69629023906488334"
},
"link": "https://acme.com/ui/login/login/passwordless/init?userID=182156264229306625&orgID=165947650742997249&codeID=200949504189388947&code=kFfsO8OizZPS",
"expiration": "3600s"
}
- Schema
- Example (from schema)
Schema
details
object
link string
expiration string
{
"details": {
"sequence": "2",
"creationDate": "2025-03-25T10:28:44.962Z",
"changeDate": "2025-03-25T10:28:44.962Z",
"resourceOwner": "69629023906488334"
},
"link": "https://acme.com/ui/login/login/passwordless/init?userID=182156264229306625&orgID=165947650742997249&codeID=200949504189388947&code=kFfsO8OizZPS",
"expiration": "3600s"
}
An unexpected error response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
code int32
message string
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://$CUSTOM-DOMAIN/auth/v1/users/me/passwordless/_link' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{}'
ResponseClear