EmbedTokenResponse
Successful response from POST .../auth/embed. Pass accessToken to the matching SignStack web component as the embed-token attribute. The scopes array varies by intent.
- accessType: string
Token required - expiresType: stringFormat: date-time
At requiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- expiresType: integer
In requiredInteger numbers.
- orgType: string
Id Pattern: ^org_[0-9a-z]{26}$requiredPrefixed lowercase ULID, e.g.
org_01jv8m7qfj6xj9gkz7a4s2h8e. - resourcesType: array object[] · EmbedResource[]required
A resource the embed token is authorized to act on.
- actionsType: array string[]required
Actions permitted on this resource (e.g.
sign,view,update). - idType: stringrequired
- typeType: stringenumrequiredvalues
- workflow
- blueprint
- stepsType: array string[]
For signing intents: the participant step key(s) the token grants access to.
- scopesType: array string[]required
- subjectType: objectrequired
Identifies the entity (service account, user, or embed session) the token represents.
- idType: stringrequired
Stable ID for the subject (UUID).
- typeType: stringenumrequiredvalues
- user
- service
_account - embed
- modeType: stringenum
Mode of the namespace this token operates in.
values- live
- test
- namespaceType: string
Key Namespace this token is scoped to.
- orgType: string
Id Pattern: ^org_[0-9a-z]{26}$Organization ID this token can act on. Prefixed lowercase ULID, e.g.
org_01jv8m7qfj6xj9gkz7a4s2h8e.
- tokenenum
Type const:Bearerrequiredvalues- Bearer
