Create Signed Document Download Link

Create signed document download link

Mints a short-lived, header-free URL for the completed (signed) PDF, for
destinations that fetch a file themselves instead of being handed bytes:
an external attachment store follows the URL from its own servers, so the
ordinary download endpoint, which needs this caller's bearer token, is
unreachable from there.

POST because it creates a credential: the response is a live URL and must
never sit in a cache. Returns 404 if the request does not exist or belongs
to a different client, and 409 if it has not reached COMPLETED status yet.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Get a short-lived URL for a completed contract's signed PDF that can be opened without an Authorization header. Use it when the file has to be fetched by another system from its own servers, for example an attachment field in a spreadsheet, CRM or no-code tool that only accepts a URL. If your own code downloads the file, use Download Contract Request Document instead.

Authentication & access

  • Requires a client API token: Authorization: Bearer <token>.
  • API credentials need the contracts.requests.read permission. Dashboard users need the OWNER, OPERATIONS, or DEVELOPER role, or a custom role that includes this permission.
  • Contract signing must be enabled for the client. If it is disabled the request returns 403.

Path parameters

ParameterDescription
request_idID of the completed contract request. Must belong to your client.

Response

200

{
  "url": "https://api.urbanpayx.com/api/v1/contracts/files/eyJhbGciOi...",
  "filename": "Investment agreement - signed.pdf",
  "expires_at": "2026-10-28T10:05:00Z"
}
FieldDescription
urlDownload URL. Works without any header until expires_at.
filenameName the file downloads as
expires_atWhen the URL stops working, 5 minutes after it was created

Security notes

  • Anyone holding the URL can download the document until it expires. Hand it straight to the system that fetches it; do not log it, store it or show it to end users.
  • Create a new link each time you need one. Each creation is recorded in your activity log.
  • This is a POST because it creates a credential; the response must not be cached.

Error responses

StatusWhen
403Contract signing is disabled for the client
404No contract request with this request_id exists under your client
409The contract is not completed yet

Standard 401 (authentication), 403 (insufficient permission or role), and 429 (rate limit) responses apply to every endpoint and are documented in the Error reference.

Path Params
string
required
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json