Skip to main content
POST
/
auth
/
action
Create User Action Signature
curl --request POST \
  --url https://api.dfns.io/auth/action \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "challengeIdentifier": "<string>",
  "firstFactor": {
    "kind": "Fido2",
    "credentialAssertion": {
      "credId": "<string>",
      "clientData": "<string>",
      "signature": "<string>",
      "algorithm": "<string>",
      "authenticatorData": "<string>",
      "userHandle": "<string>"
    }
  },
  "secondFactor": {
    "kind": "Fido2",
    "credentialAssertion": {
      "credId": "<string>",
      "clientData": "<string>",
      "signature": "<string>",
      "algorithm": "<string>",
      "authenticatorData": "<string>",
      "userHandle": "<string>"
    }
  }
}'
{
  "userAction": "<string>"
}

Authentication

✅ Organization User (CustomerEmployee)
✅ Delegated User (EndUser)
✅ Service Account

Required Permissions

No permission required.

Authorizations

Authorization
string
header
required

Bearer Token: Used to authenticate API requests. More details how to generate the token: Authentication flows

Body

application/json
challengeIdentifier
string
required

Temporary authentication token returned by the Create User Action Signature Challenge

firstFactor
object
required

First factor credential used to sign the user action Use a Fido2 Credential, also known as Passkeys or WebauthN credential.

  • Fido2/Passkeys
  • Public/Private key pair
  • <Deprecated> Password
  • Password-protected Key
secondFactor
object

Second factor credential used to authenticate a user Use a Fido2 Credential, also known as Passkeys or WebauthN credential.

  • Fido2/Passkeys
  • Public/Private key pair
  • <Deprecated> TOTP
  • Password-protected Key

Response

200 - application/json

Success

userAction
string
required
I