> ## Documentation Index
> Fetch the complete documentation index at: https://docs.propaga.mx/llms.txt
> Use this file to discover all available pages before exploring further.

# Create contract link

> Creates a link to sign the contract with Propaga (if required by your onboarding process)

<RequestExample>
  ```bash Request theme={null}
  --location 'https://staging-api.propaga.io/v1/link/contract'
  --header 'Authorization: <your_awesome_token>'
  --header 'Content-Type: application/json'
  --data '{
      "userId": "4a5694d8-ca68-48be-8530-4228ef2a47ee",
      "verificationId": "222297d8-187b-4ea7-a193-d8fd82ee162a"
  }'
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
      "contractLink": "<contract_url>"
  }
  ```
</ResponseExample>

## Body

<ParamField body="userId" type="string" required />

<ParamField body="verificationId" type="string" required />

## Response

<ResponseField name="contractLink" type="string">
  URL that redirects to a secure web interface for signing the Propaga contract. This interface provides all necessary tools for digital signature.
</ResponseField>

## Error codes

<ResponseField>
  ```json User not found (404) theme={null}
  {
      "errorCode": "USER_NOT_FOUND",
      "errorMessage": "This user not found"
  }
  ```

  ```json User already verified (422) theme={null}
  {
      "errorCode": "USER_IS_VERIFIED",
      "errorMessage": "This user is verified"
  }
  ```
</ResponseField>
