API template library

Simulate the DocuSign Trust Records API

A WireMock simulation of DocuSign's REST API — covering trust service provider evidence for agreement participants, covering identity verification events, provider reports and partner evidence file downloads.

Vendor
DocuSign
Functionality
Provider evidence and file downloads
Spec version
1.0.0
Endpoints
7
Stubs
17
Protocol
REST
Validation
AI-validated Before publication, an AI agent exercised these endpoints against the real DocuSign API through WireMock's recording proxy, and the recorded traffic was used to verify each stub's request and response shapes.

Live sandbox · no signup, no API key

DocuSign Trust Records API

A running WireMock Cloud instance of this template, callable right now from a terminal, a script, or an AI agent.

Base URL
https://0dy6e3.wiremockapi.cloud

GET Lucia Romero's trust record (QES, passport check)

curl -s -X GET 'https://0dy6e3.wiremockapi.cloud/v1/accounts/2f5a7c9e-1b3d-4f6a-8c2e-4a6b8d0f2a41/trust-records/ec302470-6b1d-4c7e-807f-86fcd4550656' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN'

GET Jonas Weber's IDnow partner files only

curl -s -X GET 'https://0dy6e3.wiremockapi.cloud/v1/accounts/2f5a7c9e-1b3d-4f6a-8c2e-4a6b8d0f2a41/trust-records/b5e1c3a7-9d2f-4a6b-8c0e-2f4a6c8e0b17?include=trusted_partners_files' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN'
Method Path Summary
GET /v1/accounts/{accountId}/trust-records/{recordId} Get trust record with evidence elements
GET /v1/accounts/{accountId}/trust-records/{recordId}/files/{fileId} Downloads a specific file associated with a trust record
GET /v1/accounts/2f5a7c9e-1b3d-4f6a-8c2e-4a6b8d0f2a41/trust-records/b5e1c3a7-9d2f-4a6b-8c0e-2f4a6c8e0b17/files/8b2d4f6a-0c3e-4a7b-9d1f-2e4a6c8b0d51 Get v1 accounts 2f5a7c9e-1b3d-4f6a-8c2e-4a6b8d0f2a41 trust-records b5e1c3a7-9d2f-4a6b-8c0e-2f4a6c8e0b17 files 8b2d4f6a-0c3e-4a7b-9d1f-2e4a6c8b0d51.
GET /v1/accounts/2f5a7c9e-1b3d-4f6a-8c2e-4a6b8d0f2a41/trust-records/b5e1c3a7-9d2f-4a6b-8c0e-2f4a6c8e0b17/files/9c3e5a7b-1d4f-4b8c-8e2a-3f5b7d9c1e62 Get v1 accounts 2f5a7c9e-1b3d-4f6a-8c2e-4a6b8d0f2a41 trust-records b5e1c3a7-9d2f-4a6b-8c0e-2f4a6c8e0b17 files 9c3e5a7b-1d4f-4b8c-8e2a-3f5b7d9c1e62.
GET /v1/accounts/2f5a7c9e-1b3d-4f6a-8c2e-4a6b8d0f2a41/trust-records/ec302470-6b1d-4c7e-807f-86fcd4550656/files/328c49d7-e909-4bac-a6c9-a374e17a1679 Get v1 accounts 2f5a7c9e-1b3d-4f6a-8c2e-4a6b8d0f2a41 trust-records ec302470-6b1d-4c7e-807f-86fcd4550656 files 328c49d7-e909-4bac-a6c9-a374e17a1679.
GET /v1/accounts/2f5a7c9e-1b3d-4f6a-8c2e-4a6b8d0f2a41/trust-records/ec302470-6b1d-4c7e-807f-86fcd4550656/files/7a1c3e5f-9b2d-4f6a-8c0e-1d3f5b7a9c40 Get v1 accounts 2f5a7c9e-1b3d-4f6a-8c2e-4a6b8d0f2a41 trust-records ec302470-6b1d-4c7e-807f-86fcd4550656 files 7a1c3e5f-9b2d-4f6a-8c0e-1d3f5b7a9c40.
GET /v1/accounts/2f5a7c9e-1b3d-4f6a-8c2e-4a6b8d0f2a41/trust-records/ec302470-6b1d-4c7e-807f-86fcd4550656/files/d20edae5-3f6a-4b8c-9d0e-a75ea4eecd60 Get v1 accounts 2f5a7c9e-1b3d-4f6a-8c2e-4a6b8d0f2a41 trust-records ec302470-6b1d-4c7e-807f-86fcd4550656 files d20edae5-3f6a-4b8c-9d0e-a75ea4eecd60.

Unauthenticated WireMock Cloud demo sandbox for DocuSign — not an official DocuSign sandbox, and it returns simulated example data only.

What's inside the Trust Records template

Trust Records hands back what a trust service provider gathered about a signer, the evidence an EU qualified electronic signature or a German anti-money-laundering identification leaves behind. Two records sit in Lucky Shrub Sales. Lucia Romero's covers a passport-based check through the MOCK_ID provider: three verification events, a report pdf_url and a QES signature evidence PDF. Jonas Weber's comes from IDnow under the GwG rules and holds two partner files, an identification protocol and an ID card photo. Every file link carries a context token, and following it downloads genuine PDF or PNG bytes.

  • Trust records — one record per recipient, keyed by recipientIdGuid, with both evidence lists by default
  • Identity verifications — event sequences with document type, issuing country, date of birth and address, plus report and photo links
  • Trusted partner files — provider files with name, MIME type and an absolute download URL
  • File downloads — context-token protected downloads with Content-Disposition filenames

DocuSign Trust Records mock API FAQ

Take the file_url from the record and request it as given, context parameter included. The response is the file itself as application/octet-stream with an attachment filename, and the PDFs start with a real %PDF header. Use mime_type from the record if you need the true type. A missing or edited context answers 400.

Yes, with include=trusted_partners_files or include=identity_verifications; the two can be combined, and leaving include out returns both. Any other value is rejected with a 400 that names the accepted pair.

Records belong to the account they were collected in. Jonas Weber's id resolves under Lucky Shrub Sales, while the same id under the Legal account answers 404 with "No trust record exists for this recipient in the account". Check the accountId before the record id when a lookup fails.

The ID Evidence template exposes only DocuSign's own verification event log. This API wraps the same kind of events with provider files and reports, and its events also carry entity_type and schema_version. Both records are fixed and the token isn't checked, though omitting the header altogether gets a 401.

Vendor names identify APIs represented by WireMock template sources. This page does not imply vendor endorsement, certification, partnership, or official integration status.