Skip to Content
API and MCPResources

Signature requests

Send a document for e-signature, check who has signed, and download the signed copy.

A signature request asks one or more people to sign a document: an estimate, an invoice, or a contract template. The API can send a request, report its progress, and return the signed PDF when everyone has signed.

Reads need the signatures:read scope. Sending needs signatures:write.

Needs the e-signature add-on

These routes return 403 with the message signing_addon_required when the account does not have e-signatures switched on.

List and read requests

GET /api/v1/signing/requests returns the 100 most recent requests, newest first. This list is not paged.

FieldDescription
idSignature request ID.
objectSlug, recordIdThe record the document belongs to, for example estimate and its ID.
clientIdThe client on that record.
sourceKindWhat is being signed. See below.
titleThe document's title.
statusThe request's status. completed when everyone has signed.
orderingThe signing order.
createdAt, updatedAt, completedAt, expiresAtTimestamps.

GET /api/v1/signing/requests/{id} adds signers, one entry per signer with id, role, status, signedAt and method.

Send a request

curl -X POST https://api.fieldcamp.ai/api/v1/signing/requests \
  -H "Authorization: Bearer $FIELDCAMP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "objectSlug": "estimate",
    "recordId": "665f1c2ab7e4a91d3c0f8a11",
    "sourceKind": "document",
    "sourceId": "665f1c2ab7e4a91d3c0f8a11",
    "idempotencyKey": "5f0c2a1e-7b3d-4c8e-9a41-2d6f0b9c1e77",
    "signers": [
      { "role": "Customer", "method": "email" }
    ],
    "message": "Please review and sign."
  }'
FieldRequiredDescription
objectSlugYesThe record type the document belongs to, for example estimate, invoice or job.
recordIdYesThat record's ID.
sourceKindYesdocument (the estimate or invoice itself), contract_template, or job_document.
sourceIdYesID of the thing being signed.
idempotencyKeyYesA UUID you generate. Sending the same key again returns the first request instead of sending a second one.
signersYesOne entry per signer the document asks for, in the document's order.
messageNoA note shown to the signer.
requireOtpNotrue asks the signer for a one-time code.
remindCadenceNoReminders: { "intervalDays": 3, "maxReminders": 2 }. intervalDays is 1–30 and maxReminders is 0–20.
expiresInDaysNoDays until the request expires, 1–365.

Each entry in signers:

FieldDescription
roleMust match a signer role on the document, for example Customer. Each role once.
methodemail, sms, app (a team member signs in FieldCamp) or in_person.
nameThe signer's name. For Customer it defaults to the client's name.
recipient, customEmailFor email: who receives it. Defaults to the client's email.
phoneFor sms: the number to text. Required with that method.
userIdFor app: the team member who signs.

The response is the request, with status 201 when a new request was sent and 200 when the idempotencyKey matched an earlier one.

Refusals. The reason is in error.message:

StatusMessageWhen
400invalid_signature_requestsourceKind, objectSlug, idempotencyKey or signers is missing or wrong, or the body has a field the API does not know.
400invalid_signersThe signers do not match the document's signer roles.
400signer_email_required, signer_phone_required, signer_name_requiredA signer is missing the detail its method needs.
404signing_record_not_foundrecordId or sourceId is missing, is not a valid ID, or is not on this account.
400invalid_signer_method, invalid_signer_recipientA signer's method or recipient is not an accepted value.
400invalid_signing_expiry, invalid_signing_remindersexpiresInDays or remindCadence is outside its range.
400, 409assigned_technician_requiredA job document must be signed in the app by a technician assigned to the job. 409 when the job has no technician assigned, 400 when the signer is not one of them.
409document_has_no_signature_fields, signer_signature_field_requiredThe document has no place to sign, or a signer has none.
409signing_send_idempotency_conflictThe idempotencyKey was already used for a different request.
409signing_details_requiredThe document has blanks that must be filled in FieldCamp first.
403signing_addon_requiredThe e-signature add-on is not on.

Download the signed copy

GET /api/v1/signing/requests/{id}/artifact returns a link to the signed PDF.

FieldDescription
urlA download link. Valid for 5 minutes.
sha256The SHA-256 hash of the signed file, to check the download.
artifactAlways signed.
expiresInSeconds300.

It returns 409 with signature_request_not_completed until every signer has signed. Call it again for a fresh link when the old one has expired.

Webhook events

document.sent, document.viewed, document.signed, document.declined and request.completed tell you when a request moves on. Subscribe to each by its exact name. See Webhook events.

Endpoints

GET/api/v1/signing/requests

Response Body

curl -X GET "https://example.com/api/v1/signing/requests"
Empty
POST/api/v1/signing/requests

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/api/v1/signing/requests" \  -H "Content-Type: application/json" \  -d '{    "objectSlug": "string",    "recordId": "string",    "sourceKind": "document",    "sourceId": "string",    "idempotencyKey": "0c14c6a6-6f50-4d1e-b0c4-b46ff43ba6a1",    "signers": [      {}    ]  }'
Empty
GET/api/v1/signing/requests/{id}

Path Parameters

id*string

Response Body

curl -X GET "https://example.com/api/v1/signing/requests/string"
Empty
GET/api/v1/signing/requests/{id}/artifact

Path Parameters

id*string

Response Body

curl -X GET "https://example.com/api/v1/signing/requests/string/artifact"
Empty

On this page