---
title: "Create account to sign a document"
method: POST
path: "/ocs/v2.php/apps/libresign/api/{apiVersion}/account/create/{uuid}"
tags: ["account"]
---

# Create account to sign a document

`POST /ocs/v2.php/apps/libresign/api/{apiVersion}/account/create/{uuid}`

## Path parameters

- `apiVersion` 'v1', required
- `uuid` string, required

## Headers

- `OCS-APIRequest` boolean, required

## Request body

- object
  - `email` string, required — email to the new account
  - `password` string, required — the password to then new account
  - `signPassword` string, nullable — The password to create certificate

## Response `200`

OK

- object
  - `ocs` object, required
    - `meta` OCSMeta, required
      - `status` string, required
      - `statuscode` integer, required
      - `message` string
      - `totalitems` string
      - `itemsperpage` string
    - `data` CreateToSignResponse, required
      - `action` 2000 | 2500, required
      - `message` string, required
      - `description` string, nullable
      - `filename` string
      - `pdf` CreateToSignPdfReference
        - `url` string, required

## Other responses

- `422` — Validation page not accessible if unauthenticated

---

[API](https://skmtc.dev/libresign/apis/libresign-full.md) · [All operations](https://skmtc.dev/libresign/apis/libresign-full/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/libresign/libresign-full/revisions/3c128acc6fd3/schema)
