Endpoint
Authentication
Required. Pass your OAuth bearer token in theAuthorization header.
Body parameters
The ULID of the person to send the request to. The person must belong to your organization.
The ULID of the document to send. The document must have a published revision.
Override the document’s default attestation type for this request. Accepted values:
"acknowledgment" or "signature". If omitted, the document’s default_attestation_type is used.Example request
Response fields
A successful request returns201 Created with the attestation request object.
The ULID of the attestation request.
The ULID of the organization the request belongs to.
The ULID of the document being attested.
The ULID of the specific published revision that was sent.
The ULID of the person the request was sent to.
The name of the recipient at the time the request was created.
The email address of the recipient at the time the request was created.
The attestation type for this request. Either
"acknowledgment" or "signature".ISO 8601 timestamp of when the request was sent, or
null if not yet sent.ISO 8601 timestamp of the most recent reminder, or
null if no reminder has been sent.ISO 8601 timestamp of when the recipient first viewed the request, or
null.ISO 8601 timestamp of when the recipient completed the attestation, or
null if pending.ISO 8601 timestamp of when the request was canceled, or
null.ISO 8601 timestamp of when the request is scheduled to expire, or
null if it does not expire.ISO 8601 timestamp of when the request actually expired, or
null if still active.The ULID of the user whose OAuth client issued this request.
How the request was created. For requests created via the API, this is
"oauth".The current status of the request. Possible values:
"sent", "viewed", "attested", "canceled", "expired".ISO 8601 timestamp of when the request was created.
ISO 8601 timestamp of the last update.
Example response
Error responses
| Status | Cause |
|---|---|
400 Bad Request | The document exists but has no published revision. |
404 Not Found | The person_id or document_id was not found in your organization. |
422 Unprocessable Entity | Validation failed — check that both IDs are valid ULIDs and requested_attestation_type is a supported value. |