Skip to main content
POST
Create Credential Code

Authentication

✅ Organization User (CustomerEmployee)
✅ Delegated User (EndUser)
❌ Personal Access Token not allowed
❌ 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

X-DFNS-USERACTION
string
header
required

User Action Signature: Used to sign the change-inducing API requests. More details how to generate the token: User Action Signing flows

Body

application/json
expiration
required

Code expiration, as an ISO-8601 datetime string or a unix timestamp

Response

200 - application/json

Success

code
string
required

One-time code that can be used to create a new credential.

expiration
string
required

Code expiration, as an ISO-8601 datetime string or a unix timestamp.

Last modified on July 9, 2026