---
title: "Create a framework agreement and signing link"
method: POST
path: "/public/onboarding/v1/create-framework-agreement"
tags: ["Onboarding flow"]
---

# Create a framework agreement and signing link

`POST /public/onboarding/v1/create-framework-agreement`

Create a framework agreement and a signing link, for the given worker.
Once the agreement is signed, the FrameworkAgreementSignedEvent webhook is executed.

## Request body

- FrameworkAgreementCreationRequestV1
  - `workerId` string, uuid — The unique id of the worker, as returned from the /create-worker endpoint.
  - `isPayrollTaxReduction` boolean — true if the worker wants us to apply payroll tax reduction (Dutch: loonheffingskorting), false otherwise
  - `payrollTaxReductionStartDate` string, date — The date from which the payroll tax reduction should be applied. Required if isPayrollTaxReduction is true, ignored otherwise.

## Response `200`

Successfully created the agreement

- FrameworkAgreementCreationResponseV1
  - `signingUrl` string, uri — A URL to the web UI (Stiply) that shows the agreement to the worker and allows them to e-sign it.
  - `signingUrlExpirationTimestamp` string, date-time — The timestamp (UTC) at which the signing URL will expire. When browsing to the URL after this timestamp, the web UI (Stiply) will show an error page.

## Other responses

- `400` — The request could not be processed. This could be due to a number of reasons: * The request does not have all required data. * Data in the request is invalid. * Data in the request is inconsistent. * The operation is not allowed given the current state of the data.
- `401` — The request did not contain credentials identifying the caller, or the provided credentials were invalid.
- `403` — The data that the request referred to is inaccessible to the caller.

---

[API](https://skmtc.net/maqqie/apis/maqqie-platform-public-api.md) · [All operations](https://skmtc.net/maqqie/apis/maqqie-platform-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/maqqie/maqqie-platform-public-api/revisions/5cb82e369b70/schema)
