API reference

Parties

Add, change and remove the people on an envelope.

POST/envelopes/{id}/parties

Add parties to a draft

Batch by default. A witness names the party it witnesses by index within this request, or by ID when that party is already on the envelope: one form per party, never both. Role obligations are checked against the party set the request would produce, so an addition can be refused because of a party the request does not mention. Structural, so ENVELOPE_NOT_DRAFT applies.

Authentication API token or Sender session

Parameters

  • idpath · stringrequired
  • Idempotency-Keyheader · string

    Scoped to (organisation, key), TTL 24 hours. Replaying with the same body returns the original response with Idempotency-Replayed: true; a different body returns 409 IDEMPOTENCY_KEY_REUSED.

Request body

  • partiesarray of objectrequired
    • rolestringrequired

      One of "SIGNER", "APPROVER", "VIEWER", "ASSISTANT", "CC", "WITNESS"

    • namestring
    • emailstringemail
    • phonestring
    • signingOrderintegerat least 1default 1
    • dispatchAfterstringdate-time
    • roleLabelstring
    • witnessesPartyIndexinteger
    • witnessedPartyIdstring
    • accessAutharray of string
    • actionAutharray of string
    • accessCodestring4 to 64 characters

Response 201

The parties as created

Response fields
  • partiesarray of object
    • idstring
    • rolestring

      One of "SIGNER", "APPROVER", "VIEWER", "ASSISTANT", "CC", "WITNESS", "NOTARY"

    • roleLabelstring or any or null
    • namestring or any or null
    • emailstring or any or null
    • signingOrderintegerat least -9007199254740991
    • dispatchAfterstring or any or null
    • statusstring
    • witnessedPartyIdstring or any or null
    • hasAccessCodeboolean

Errors

Request
curl -X POST https://api.signrs.com/api/v1/envelopes/env_8kR4tZp1/parties \
  -H "Authorization: Bearer $SIGNRS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "parties": [
      {
        "role": "SIGNER",
        "name": "Dana Ruiz",
        "email": "dana.ruiz@example.com"
      }
    ]
  }'
Response 201
{
  "parties": [
    {
      "id": "env_8kR4tZp1",
      "role": "SIGNER",
      "roleLabel": "example",
      "name": "Dana Ruiz",
      "email": "dana.ruiz@example.com",
      "signingOrder": 1,
      "dispatchAfter": "2026-11-03T16:51:04.087Z",
      "status": "example",
      "witnessedPartyId": "wit_6Hn3kQw8",
      "hasAccessCode": true
    }
  ]
}

PATCH/envelopes/{id}/parties

Change parties on a draft

Keyed by party ID. role is changeable (a recipient who should have been an approver is an ordinary correction) and the obligations are re-checked against the resulting party set, so changing a SIGNER to a CC is refused when a WITNESS attests to it.

Authentication API token or Sender session

Parameters

  • idpath · stringrequired
  • Idempotency-Keyheader · string

    Scoped to (organisation, key), TTL 24 hours. Replaying with the same body returns the original response with Idempotency-Replayed: true; a different body returns 409 IDEMPOTENCY_KEY_REUSED.

Request body

  • partiesarray of objectrequired
    • idstringrequired
    • rolestring

      One of "SIGNER", "APPROVER", "VIEWER", "ASSISTANT", "CC", "WITNESS"

    • namestring or any or null
    • emailstring or any or null
    • phonestring or any or null
    • roleLabelstring or any or null
    • signingOrderintegerat least 1
    • dispatchAfterstring or any or null
    • accessAutharray of string
    • actionAutharray of string
    • accessCodestring or any or null
    • witnessedPartyIdstring or any or null

Response 200

The parties as they now stand

Response fields
  • partiesarray of object
    • idstring
    • rolestring

      One of "SIGNER", "APPROVER", "VIEWER", "ASSISTANT", "CC", "WITNESS", "NOTARY"

    • roleLabelstring or any or null
    • namestring or any or null
    • emailstring or any or null
    • signingOrderintegerat least -9007199254740991
    • dispatchAfterstring or any or null
    • statusstring
    • witnessedPartyIdstring or any or null
    • hasAccessCodeboolean

Errors

Request
curl -X PATCH https://api.signrs.com/api/v1/envelopes/env_8kR4tZp1/parties \
  -H "Authorization: Bearer $SIGNRS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "parties": [
      {
        "id": "env_8kR4tZp1",
        "role": "SIGNER",
        "name": "Dana Ruiz",
        "email": "dana.ruiz@example.com"
      }
    ]
  }'
Response 200
{
  "parties": [
    {
      "id": "env_8kR4tZp1",
      "role": "SIGNER",
      "roleLabel": "example",
      "name": "Dana Ruiz",
      "email": "dana.ruiz@example.com",
      "signingOrder": 1,
      "dispatchAfter": "2026-11-03T16:51:04.087Z",
      "status": "example",
      "witnessedPartyId": "wit_6Hn3kQw8",
      "hasAccessCode": true
    }
  ]
}

DELETE/envelopes/{id}/parties/{partyId}

Remove a party from a draft

The party's fields go with it (a field is owned by exactly one party) and the response says how many, because a caller who deletes a recipient and silently loses eleven field placements has been surprised by their own request. A party another party witnesses cannot be removed: PARTY_IS_WITNESSED.

Authentication API token or Sender session

Parameters

  • idpath · stringrequired
  • partyIdpath · stringrequired
  • Idempotency-Keyheader · string

    Scoped to (organisation, key), TTL 24 hours. Replaying with the same body returns the original response with Idempotency-Replayed: true; a different body returns 409 IDEMPOTENCY_KEY_REUSED.

Response 200

What was removed

Response fields
  • idstring
  • fieldsRemovedinteger

Errors

Request
curl -X DELETE https://api.signrs.com/api/v1/envelopes/env_8kR4tZp1/parties/pty_3Hd7cVx9 \
  -H "Authorization: Bearer $SIGNRS_TOKEN"
Response 200
{
  "id": "env_8kR4tZp1",
  "fieldsRemoved": 1
}