Browse the docs ▾

Signing requests API

Send documents for signature and follow them to completion. GET /api/v1/sign-requests, POST /api/v1/sign-requests, GET /api/v1/sign-requests/{id}, POST /api/v1/sign-requests/{id}/void and more.

Generated from the app's endpoint listView as Markdown

5 operations. Each needs an API key with the permission shown; see API keys and permissions.

#GET /api/v1/sign-requests

Documents sent for signature, with each signer's progress.

  • Permission: documents:read
  • Returns: a page of records: { data, hasMore, nextCursor }, status 200

Query parameters (all optional)

NameDescription
statussent, completed, declined, voided or expired.
providerIdOnly this person.
facilityIdOnly this site.
limitRows per page, 1 to 200. Default 50.
cursorThe nextCursor value from the previous page.

Fields in each record: id, title, status, category, templateId, providerId, facilityId, sentAt, expiresAt, completedAt, signedSha256, batchId, signers

curl "https://app.staffedly.com/api/v1/sign-requests?limit=50" \
  -H "Authorization: Bearer $STAFFEDLY_API_KEY"

#POST /api/v1/sign-requests

Send a template for signature. Each signer is emailed a private link. The signed copy is filed under the person or site.

  • Permission: documents:write
  • Returns: one record: { data }, status 201
  • Safe retry: send an Idempotency-Key header (8 to 128 characters); the same key with the same request returns the first answer again

Body fields (JSON; a field the API does not know is refused)

FieldDescription
templateIdRequired. From /api/v1/document-templates.
providerIdThe person it is for. Required when the template has a provider signer.
facilityIdThe site it is for. Required when the template has a facility signer.
valuesObject: a value for each entry in the template's valuesNeeded, by id.
organizationSignerEmailEmail address of the team member who signs for your organization, when the template has that signer.
facilitySignerNameName of the facility's signer, when the template has one.
facilitySignerEmailTheir email address.
messageA note shown to the signers.
expiresInDays1 to 365. Default: the template's setting.

Fields in each record: id, title, status, category, templateId, providerId, facilityId, sentAt, expiresAt, completedAt, signedSha256, batchId, signers

curl -X POST "https://app.staffedly.com/api/v1/sign-requests" \
  -H "Authorization: Bearer $STAFFEDLY_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"templateId":"<templateId>"}'

#GET /api/v1/sign-requests/{id}

One signing request.

  • Permission: documents:read
  • Returns: one record: { data }, status 200

Path

NameDescription
idThe record's id.

Fields in each record: id, title, status, category, templateId, providerId, facilityId, sentAt, expiresAt, completedAt, signedSha256, batchId, signers

curl "https://app.staffedly.com/api/v1/sign-requests/<id>" \
  -H "Authorization: Bearer $STAFFEDLY_API_KEY"

#POST /api/v1/sign-requests/{id}/void

Void a request that is still out. Nobody can sign it afterwards and the signers see the reason.

  • Permission: documents:write
  • Returns: one record: { data }, status 201
  • Safe retry: send an Idempotency-Key header (8 to 128 characters); the same key with the same request returns the first answer again

Path

NameDescription
idThe record's id.

Body fields (JSON; a field the API does not know is refused)

FieldDescription
reasonRequired. Shown to the signers.

Fields in each record: id, title, status, category, templateId, providerId, facilityId, sentAt, expiresAt, completedAt, signedSha256, batchId, signers

curl -X POST "https://app.staffedly.com/api/v1/sign-requests/<id>/void" \
  -H "Authorization: Bearer $STAFFEDLY_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"reason":"Extra room opened"}'

#POST /api/v1/sign-requests/{id}/remind

Email everyone whose turn it is again, with the link they already have. At most once an hour per signer.

  • Permission: documents:write
  • Returns: one record: { data }, status 201
  • Safe retry: send an Idempotency-Key header (8 to 128 characters); the same key with the same request returns the first answer again

Path

NameDescription
idThe record's id.

Body fields (JSON; a field the API does not know is refused)

FieldDescription

Fields in each record: id, reminded, skippedBecauseRemindedWithinTheHour

curl -X POST "https://app.staffedly.com/api/v1/sign-requests/<id>/remind" \
  -H "Authorization: Bearer $STAFFEDLY_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{}'

Something missing or wrong on this page? Email [email protected] or book a free call; our team sets up every new customer at no charge.