Skip to main content
POST
Error

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

packageId
string<guid>
required

The target package's unique identifier A package's unique identifier

Example:

"00000000-0000-0000-0000-000000000000"

stepIndex
integer
required

The index of the process step

Required range: x >= 0

Body

application/json

Signs one or more signing fields

Type
enum<string>
required

The type of action an actor performs on a package, and the discriminator across the actor variants.

  • FormFiller - fills TextBoxField, CheckBoxField, RadioGroup and ComboBoxField (NSEV v8.5+) elements; does not sign or approve. Must be placed in a process step before any Signer or Receiver step.
  • Approver - approves a document as fit for signing, before any signer acts. Must be placed in a process step before any Signer or Receiver step (may share a step with FormFillers).
  • Signer - signs one or more signing fields.
  • Receiver - receives a copy of the fully signed document; takes no action and must be placed in the last process step.
Available options:
Signer
StakeholderId
string<guid>
required

A stakeholder's unique identifier

Example:

"00000000-0000-0000-0000-000000000000"

SuppressNotifications
boolean
default:false

suppress the notifications for this actor

See Callbacks and redirects → SuppressNotifications.

RedirectUrl
string<url>

Url to which the stakeholder is redirected after completing this action

See Callbacks and redirects → RedirectUrl.

Elements
(New signing field on a document · object | Existing element by Id · object)[]

The actor's elements

Parameters for creating a signing field

SigningMethods
Signing method with key pair · object[]

Available as of NSEV v8.6. The signing methods this signer may use to sign their signing fields. Always supply an array, even for a single method. Each entry is an object with a Name and an optional KeyPair; a bare signing-method name string is also accepted as shorthand for { "Name": "<method>" }. When set, the package's DefaultSigningMethods are not applied to this signer's new signing fields or when the package is sent; methods already on a signing field that is assigned to the signer are still added. Use this instead of the deprecated SigningMethods on the signer's signing fields.

An empty array, null or an omitted property sets no signer-level methods. A signer's methods only grow: signing fields assigned to it add their methods. To replace them, delete the actor and add it again, or replace the whole process with Update process.

Rejected with a 400 (for example SigningType.Invalid): an unknown or duplicate method, a KeyPair that is too long, a key pair on a method that cannot take one, or a server signing method combined with other methods in this array. Rejected with a 409 (for example SigningType.Disabled): a disabled method; a key pair that does not exist, has expired or is not allowed, or an expired default key pair; or a stakeholder that lacks details a method needs (such as a phone number) or uses a disabled country code, and for a group, when no member has them.

RedirectType
enum<string>

When stakeholder gets redirected after completing this action

  • afterSession - Redirect after signing session is ended, but before package is completed (only important for last signer).
  • immediately - Redirect as soon as possible.
  • afterDelay - Redirect after some delay (defined on frontend).
  • afterCompletion - Redirect after the package is completed.

Only valid together with RedirectUrl - the API rejects RedirectType without it.

See Callbacks and redirects → RedirectType.

Available options:
AfterSession,
Immediately,
AfterDelay,
AfterCompletion
BackButtonUrl
string<url>

URL to which the end user is sent after pressing close session button

Example:

"https://homepage.example.test"

Response

Actor was added to the process step. The location header points to the location of the created actor under its stakeholder.

Signs one or more signing fields

Id
string<guid>

This actor's unique identifier

Example:

"00000000-0000-0000-0000-000000000000"

Type
enum<string>

The type of action an actor performs on a package, and the discriminator across the actor variants.

  • FormFiller - fills TextBoxField, CheckBoxField, RadioGroup and ComboBoxField (NSEV v8.5+) elements; does not sign or approve. Must be placed in a process step before any Signer or Receiver step.
  • Approver - approves a document as fit for signing, before any signer acts. Must be placed in a process step before any Signer or Receiver step (may share a step with FormFillers).
  • Signer - signs one or more signing fields.
  • Receiver - receives a copy of the fully signed document; takes no action and must be placed in the last process step.
Available options:
Signer
Status
enum<string>

The status of an actor's action.

  • Draft - the package is still in draft; the action is not yet active.
  • Waiting - the action is waiting for an earlier process step to complete.
  • Available - the action is ready to be performed.
  • InProgress - the action is being performed.
  • Failed - the action failed.
  • Finished - the action was completed.
  • Rejected - the actor rejected the document.
  • Skipped - the action was skipped (for example via skip approvers/signers).
Available options:
Draft,
Waiting,
Available,
InProgress,
Failed,
Finished,
Rejected,
Skipped
SuppressNotifications
boolean
default:false

suppress the notifications for this actor

ActionUrls
object[]

Only present when the actor's stakeholder is a person.

links to interact with the package for this person stakeholder

Only present when the actor's stakeholder is a group or contact group.

Result
object

The result of a completed action

Elements
Signing field · object[]

The actor's elements

SigningMethods
string[] | null

Available as of NSEV v8.6. The signer's signing methods: those set on the signer, plus those on its signing fields, including any of the package's DefaultSigningMethods applied to them. Sorted by full method name. Can be null, for example when the signer has no signing methods yet, or on packages sent before NSEV v8.6.

An NSEV signing method

KeyPairMappings
object[] | null

Available as of NSEV v8.6. The key pair to use for each of this signer's signing methods. A method that is not listed uses the default key pair, and an empty array means none is set. Sorted by full method name. null whenever SigningMethods is null.

UsedSigningMethod
string | null

Available as of NSEV v8.6. The signing method the signer used. null until the signer has signed, when the signer used different methods on different fields, and on packages sent before NSEV v8.6.

RedirectUrl
string<url>

Url to which the stakeholder is redirected after completing this action

RedirectType
enum<string>

When stakeholder gets redirected after completing this action

  • afterSession - Redirect after signing session is ended, but before package is completed (only important for last signer).
  • immediately - Redirect as soon as possible.
  • afterDelay - Redirect after some delay (defined on frontend).
  • afterCompletion - Redirect after the package is completed.

Only valid together with RedirectUrl - the API rejects RedirectType without it.

Available options:
AfterSession,
Immediately,
AfterDelay,
AfterCompletion
BackButtonUrl
string<url>

URL to which the end user is sent after pressing close session button

Example:

"https://homepage.example.test"