---
title: "Upload selfie"
method: POST
path: "/v1/signatures/{signatureId}/selfie"
tags: ["Qualified Electronic Signature"]
---

# Upload selfie

`POST /v1/signatures/{signatureId}/selfie`

## Request

- Base URL: `https://api.ext-sandbox.fourthline.com`
- URL: `https://api.ext-sandbox.fourthline.com/v1/signatures/{signatureId}/selfie`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://example.com/token`

Use this endpoint to upload the client’s selfie.<br /><br /><img src="https://files.readme.io/310d4d3-Inline_Caution.svg" align="left" alt="Important" /> **Important:** <br />• Before using this endpoint, see the <a href="https://docs.fourthline.com/docs/qes-integration">integration guide</a>. <br />• <code>signatureId</code> and <code>workflowId</code> are string identifiers that can be used interchangeably.

## Path parameters

- `signatureId` string, required

## Headers

- `Authorization` string, required: The `access_token` returned in your most recent [Create access token](ref:create-access-token) response.
- `Content-Type` 'image/jpeg' | 'image/png', required

## Request body `application/x-www-form-urlencoded`

- object
  - `selfie` string, binary, required: The client’s new selfie. <br />Supported formats: <br />• JPEG image <br />• PNG image

## Response `200`

Selfie uploaded

- object: A successful response is empty.

## Other responses

- `400`: Invalid request parameters
- `404`: Signature not found
- `422`: The request could not be processed
- `500`: Unexpected server error

---

[API](https://skmtc.dev/fourthline/apis/fourthline-apis.md) - [All operations](https://skmtc.dev/fourthline/apis/fourthline-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/fourthline/apis/fourthline-apis/revisions/87907b6e3164?raw)
