Create a fact-find request

POST /api/v1/fact-find/request

Headers

application/json

Body Required

  • client_uuid string Required

    The UUID of the client account to send the fact-find request. Can be individual, joint, business, trust.

  • fact_find_schema_uuid string Required

    The UUID of the fact-find schema that you would like the client to use.

  • The text that will appear in the invitation email sent to the client.

Responses

  • 201 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.

    • status string

      The status of the fact-find request. Available options: in_progress,complete

    • The datetime when the fact-find request has been completed

    • The text that is used in the notification/email sent out to the client.

    • schema object

      The fact-find schema used for the fact-find request.

      Additional properties are allowed.

    • The latest file that has been generated for the fact-find request.

      Additional properties are allowed.

POST /api/v1/fact-find/request
curl \
 -X POST https://api.plannrcrm.com/api/v1/fact-find/request \
 -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 '{"client_uuid":"string","fact_find_schema_uuid":"string","invitation_text":"Please complete this fact-find."}'
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
{
  "client_uuid": "string",
  "fact_find_schema_uuid": "string",
  "invitation_text": "Please complete this fact-find."
}
Response examples (201)
{
  "uuid": "d509c590-0787-48b8-a986-689e3424fca5",
  "schema": {
    "name": "Default fact-find",
    "uuid": "e2a39bda-1104-498a-90bc-0b989742f415",
    "created_at": "2024-11-20T13:24:03+00:00",
    "updated_at": "2024-11-20T13:24:03+00:00",
    "archived_at": "2024-11-19T13:24:03+00:00",
    "is_archived": false,
    "sections_count": 5,
    "introduction_html": "Welcome to our fact-find! <b>You can use some HTML too.</b>"
  },
  "status": "complete",
  "created_at": "2024-11-20T13:24:03+00:00",
  "updated_at": "2024-11-20T13:24:03+00:00",
  "latest_file": {
    "firm": "App\\Http\\Resources\\FirmResource",
    "name": "Welcome to Plannr",
    "size": "21691783",
    "tags": "App\\Http\\Resources\\TagResource",
    "type": "type",
    "uuid": "1587e19c-d2d1-4e67-a061-60e9558c3b2d",
    "parent": "Object",
    "status": "uploaded",
    "account": "App\\Http\\Resources\\AccountResource",
    "filename": "Welcome to Plannr.pdf",
    "progress": "100",
    "extension": "pdf",
    "created_at": "2024-11-20T13:24:03+00:00",
    "updated_at": "2024-11-20T13:24:03+00:00",
    "folder_name": "folder 2",
    "uploaded_at": "2024-11-20T13:24:03+00:00",
    "download_url": "https://plannr.valet/file/51c6182e-f484-4ec2-aac0-4fc4c1ed83cd/download",
    "last_modified": "2024-11-20T13:24:03+00:00",
    "original_created_at": "2024-11-20T13:24:03+00:00"
  },
  "completed_at": "2024-11-15T13:24:03+00:00",
  "invitation_text": "Please complete this fact-find!"
}