---
title: "Retrieve a pre-onboarding document with its rendered PDF content"
method: GET
path: "/v1/onboarding/employments/{employment_id}/pre-onboarding-documents/{id}"
tags: ["Employments", "Pre-Onboarding Documents"]
---

# Retrieve a pre-onboarding document with its rendered PDF content

`GET /v1/onboarding/employments/{employment_id}/pre-onboarding-documents/{id}`

## Request

- Base URL: `https://gateway.remote.com`
- URL: `https://gateway.remote.com/v1/onboarding/employments/{employment_id}/pre-onboarding-documents/{id}`
- Auth: one of:
  - OAuth 2
    - Authorization code: `/auth/oauth2/authorize`
    - Token URL: `/auth/oauth2/token` scopes: `https://gateway.remote.com/company.manage`
  - OAuth 2
    - Authorization code: `/auth/oauth2/authorize`
    - Token URL: `/auth/oauth2/token` scopes: `document:read`
  - OAuth 2
    - Authorization code: `/auth/oauth2/authorize`
    - Token URL: `/auth/oauth2/token` scopes: `all:read`
  - OAuth 2
    - Authorization code: `/auth/oauth2/authorize`
    - Token URL: `/auth/oauth2/token` scopes: `all:write`
  - OAuth 2
    - Client credentials
    - Token URL: `/auth/oauth2/token` scopes: `document:read`
  - OAuth 2
    - Client credentials
    - Token URL: `/auth/oauth2/token` scopes: `all:read`
  - OAuth 2
    - Client credentials
    - Token URL: `/auth/oauth2/token` scopes: `all:write`
  - HTTP bearer

Returns the rendered contract PDF (base64-encoded) and the list of signatories for the given
pre-onboarding document. The `content` field is prefixed with `data:application/pdf;base64,` so
it can be embedded directly in a document viewer.

## Authentication

This endpoint accepts any one of the following token types:

- **Company-scoped access token** (`OAuth2AuthorizationCode`) — obtained by a company manager through the Authorization Code flow or the Refresh Token flow. See [Authentication for partners](https://developer.remote.com/docs/authentication-for-partners).
- **Company-scoped access token (assertion)** (`OAuth2CompanyManagerAssertion`) — obtained through the `urn:ietf:params:oauth:grant-type:jwt-bearer` grant for a company manager. See [OAuth Assertion](https://developer.remote.com/docs/authorization-method-oauth-assertion).
- **Customer API token** (`CustomerAPIToken`) — generated by the customer on their Integration Settings page, with the scopes they choose there. See [Authorization for customers](https://developer.remote.com/docs/authorization-for-customers).

## Scopes

Any one of the scopes in a token type's row is enough. `all:read` and `all:write` work too.

| Token type | Category | Read only Scope | Write only Scope (read access implicit) |
|---|---|---|---|
| Company-scoped access token | Manage employment documents (`employment_documents`) | View documents (`document:read`) | Manage documents (`document:write`) |
| Company-scoped access token (assertion) | Manage employment documents (`employment_documents`) | View documents (`document:read`) | Manage documents (`document:write`) |
| Customer API token | Manage employment documents (`employment_documents`) | View documents (`document:read`) | Manage documents (`document:write`) |

## Path parameters

- `employment_id` string, required
- `id` string, required

## Response `200`

Success

- ShowPreOnboardingDocumentResponse: Returns the rendered contract PDF (base64) and signatories for a pre-onboarding document.
  - `data` object, required
    - `pre_onboarding_document` object, required
      - `content` string, binary, required: Base64-encoded PDF, prefixed with `data:application/pdf;base64,`.
      - `name` string, required: File name of the rendered document.
      - `signatories` Signatory[], required: Parties that must sign or have signed the document.
        - `email` string, nullable: Email address of the signatory
        - `name` string, nullable: Full name of the signatory
        - `signature` string, nullable: Signature image as a data URI (e.g. `data:image/png;base64,...`), null if not yet signed
        - `signature_method` 'in_platform' | 'docusign': Signing method used by this signatory
        - `signature_type` 'standard' | 'qes' | 'aes' | 'ses': Legal signature level applied when signing
        - `signed_at` string, date-time, nullable: Timestamp when the signatory signed the document, null if not yet signed
        - `status` 'pending' | 'signed' | 'unassigned', required: Current signing status of this signatory
        - `type` 'company' | 'employee' | 'admin' | 'external' | 'unknown', required: The role of this signatory in the contract signing process
        - `user_id` string, nullable: User identifier for internal signatories, null for external signatories
      - `status` 'draft' | 'awaiting_signatures' | 'deadline_passed' | 'finished', required: The signing status of a contract document. - `draft`: The document is being prepared and has not been sent for signing. - `awaiting_signatures`: The document has been sent and is waiting for one or more parties to sign. - `deadline_passed`: The signing deadline passed before all required signatures were collected. - `finished`: All required signatures have been collected and the contract is fully executed.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

## Changes

- **2026-12-01** `777f36f27c65`: 4 info
  - the security scope `document:read` was added to the endpoint's security scheme `OAuth2CompanyManagerAssertion`
  - the security scope `https://gateway.remote.com/company.manage` was added to the endpoint's security scheme `OAuth2AuthorizationCode`
  - the security scope `all:write` was removed from the endpoint's security scheme `OAuth2AuthorizationCode`
  - the security scope `all:write` was removed from the endpoint's security scheme `OAuth2CompanyManagerAssertion`
- **2026-12-01** `a7797b614386`: 4 info
  - the security scope `document:read` was added to the endpoint's security scheme `OAuth2CompanyManagerAssertion`
  - the security scope `https://gateway.remote.com/company.manage` was added to the endpoint's security scheme `OAuth2AuthorizationCode`
  - the security scope `all:write` was removed from the endpoint's security scheme `OAuth2AuthorizationCode`
  - the security scope `all:write` was removed from the endpoint's security scheme `OAuth2CompanyManagerAssertion`
- …earlier changes not shown

[Operation history](https://skmtc.dev/remote-com/apis/remote-api/changes/v1/onboarding/employments/:employment_id/pre-onboarding-documents/:id/get.md)

---

[API](https://skmtc.dev/remote-com/apis/remote-api.md) - [All operations](https://skmtc.dev/remote-com/apis/remote-api/llms.txt) - [OpenAPI document](https://skmtc.dev/remote-com/apis/remote-api/revisions/777f36f27c65?raw)
