The parameters object containing the specific intent data for this activity.
Show details
parameters.verificationToken
string
required
Signed JWT containing a unique id, expiry, verification type, contact
parameters.publicKey
string
required
Client-side public key generated by the user, which will be conditionally added to org data based on the validity of the verification token
parameters.expirationSeconds
string
Expiration window (in seconds) indicating how long the Session is valid for. If not provided, a default of 15 minutes will be used.
parameters.invalidateExisting
boolean
Invalidate all other previously generated Login API keys
parameters.clientSignature
string
Optional signature associated with the public key passed into the verification step. This must be a hex-encoded ECDSA signature over the verification token. Only required if a public key was provided during the verification step.
Response
A successful response returns the following fields:
The activity object containing type, intent, and result
Show activity details
activity.id
string
required
Unique identifier for a given Activity object.
activity.organizationId
string
required
Unique identifier for a given Organization.
activity.status
string
required
The activity status
activity.type
string
required
The activity type
activity.intent
object
required
The intent of the activity
Show intent details
activity.intent.otpLoginIntent
object
required
The otpLoginIntent object
Show otpLoginIntent details
activity.intent.otpLoginIntent.verificationToken
string
required
Signed JWT containing a unique id, expiry, verification type, contact
activity.intent.otpLoginIntent.publicKey
string
required
Client-side public key generated by the user, which will be conditionally added to org data based on the validity of the verification token
activity.intent.otpLoginIntent.expirationSeconds
string
Expiration window (in seconds) indicating how long the Session is valid for. If not provided, a default of 15 minutes will be used.
activity.intent.otpLoginIntent.invalidateExisting
boolean
Invalidate all other previously generated Login API keys
activity.intent.otpLoginIntent.clientSignature
string
Optional signature associated with the public key passed into the verification step. This must be a hex-encoded ECDSA signature over the verification token. Only required if a public key was provided during the verification step.
activity.result
object
required
The result of the activity
Show result details
activity.result.otpLoginResult
object
required
The otpLoginResult object
Show otpLoginResult details
activity.result.otpLoginResult.session
string
required
Signed JWT containing an expiry, public key, session type, user id, and organization id
activity.votes
array
required
A list of objects representing a particular User’s approval or rejection of a Consensus request, including all relevant metadata.