Launch document signing

POST /api/v1/document-signing

Headers

application/json

Body Required

  • participant_uuids array[string] Required

    Participants who will be viewing and signing the documents. Must be given in the order you would like the participants to view the documents.

  • document_template_uuids array[string] Required

    Array document template UUIDs to be added as adhoc documents of the document signing process. Required without document_pack.

  • Array variable dependant models that are needed for variable replacing across all documents that are provided.

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string

      The UUID of the resource.

    • The timestamp of when the resource was created.

    • The timestamp of when the resource was updated.

    • name integer

      Transaction ID on Alphatrust

    • status string

      Current status of the document signing process.

    • participants array[object]

      Participants of the document signing process.

    • documents array[object]

      Documents of the document signing process.

    • Account that launched the document signing process.

POST /api/v1/document-signing
curl \
 -X POST https://api.plannrcrm.com/api/v1/document-signing \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json" \
 -H "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
 -d '{"participant_uuids":["10b2f82c-ad9e-4dca-85bb-58df9dd6c715","0ef24cea-e84b-4977-b48d-a8fdf57f1fb5"],"document_template_uuids":["3bea7177-c8d6-41ba-8c01-f86f7a7f2196","2baf6efb-9dc9-4594-9dec-699207b16403"],"document_template_dependants":[{"client-1":"8730c8bb-635f-45ad-983f-6f0d7fa48edc","client-2":"2beb8c27-60d4-4aba-998f-a5bfc14a918c"}]}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}

# Payload
{
  "participant_uuids": [
    "10b2f82c-ad9e-4dca-85bb-58df9dd6c715",
    "0ef24cea-e84b-4977-b48d-a8fdf57f1fb5"
  ],
  "document_template_uuids": [
    "3bea7177-c8d6-41ba-8c01-f86f7a7f2196",
    "2baf6efb-9dc9-4594-9dec-699207b16403"
  ],
  "document_template_dependants": [
    {
      "client-1": "8730c8bb-635f-45ad-983f-6f0d7fa48edc",
      "client-2": "2beb8c27-60d4-4aba-998f-a5bfc14a918c"
    }
  ]
}
Response examples (200)
{
  "name": 1000243230,
  "uuid": "6b67f8bd-3b3f-4ebb-b984-14b3e564bbcb",
  "status": "pending",
  "documents": [
    {
      "name": "Welcome Pack",
      "uuid": "eff769c5-0a45-4c70-95c2-3c3ed56b9f10",
      "status": "pending",
      "created_at": "2024-10-16T11:10:15+01:00",
      "updated_at": "2024-10-16T11:10:15+01:00",
      "alphatrust_id": 1000455612
    }
  ],
  "created_at": "2024-10-16T11:10:15+01:00",
  "updated_at": "2024-10-16T11:10:15+01:00",
  "launched_by": {
    "firm": "App\\Http\\Resources\\FirmResource",
    "name": "Gareth Thompson",
    "role": "client",
    "tags": "App\\Http\\Resources\\TagResource",
    "type": "client",
    "uuid": "f9b6c23c-84cf-4464-a578-3daf7cf6c6f2",
    "email": "gareth@codepotato.co.uk",
    "groups": "App\\Http\\Resources\\GroupResource",
    "owners": "App\\Http\\Resources\\AccountResource",
    "last_name": "Thompson",
    "created_at": "2024-10-16T11:10:15+01:00",
    "first_name": "Gareth",
    "updated_at": "2024-10-16T11:10:15+01:00",
    "with_login": true,
    "custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
    "introduced_by": "App\\Http\\Resources\\AccountResource",
    "primary_email": "App\\Http\\Resources\\ContactDetailResource",
    "can_be_deleted": "false",
    "assigned_adviser": "App\\Http\\Resources\\AccountResource",
    "next_review_date": "2024-10-16T11:10:15+01:00",
    "has_joint_account": true,
    "current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
    "first_contact_date": "2024-10-16T11:10:15+01:00",
    "external_references": "App\\Http\\Resources\\ExternalReferenceResource",
    "assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
    "previous_review_date": "2024-10-16T11:10:15+01:00",
    "primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
    "assigned_administrator": "App\\Http\\Resources\\AccountResource",
    "anniversary_review_date": "2024-10-16T11:10:15+01:00"
  },
  "participants": [
    {
      "name": "Gareth Thompson",
      "uuid": "8d1ef0d2-2f84-4bb6-832d-57dc383d3149",
      "status": "pending",
      "created_at": "2024-10-16T11:10:15+01:00",
      "updated_at": "2024-10-16T11:10:15+01:00",
      "alphatrust_id": 1000145124
    }
  ]
}