POST
/
users
/
{userID}
/
passkeyEvents
curl --request POST \
  --url https://backendapi.corbado.io/v2/users/{userID}/passkeyEvents \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "eventType": "user-login-blacklisted",
  "expires": 123,
  "processID": "<string>",
  "clientEnvID": "<string>",
  "credentialID": "<string>",
  "challenge": "<string>"
}'
{
  "passkeyEventID": "<string>",
  "userID": "<string>",
  "eventType": "user-login-blacklisted",
  "clientEnvID": "<string>",
  "processID": "<string>",
  "credentialID": "<string>",
  "expires": 123,
  "created": "<string>",
  "createdMs": 123
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

userID
string
required

ID of user

Body

application/json

Response

200
application/json

Passkey event has been created

The response is of type object.