---
title: "Registers signatures"
method: POST
path: "/register-signatures"
---

# Registers signatures

`POST /register-signatures`

Registers the single signatures from a signer participant for an upcoming certificate

## Request body

- RegisterSingleSignatureMessage — This message holds a Signer Single Signature with the list of won indexes in the lottery.
  - `entity_type` SignedEntityType, required — Entity type of the message that is signed
  - `party_id` string, required — The unique identifier of the signer
  - `signature` string, byte, required — The single signature of the digest
  - `indexes` integer[], required — The indexes of the lottery won that lead to the single signature
  - `signed_message` string, bytes, required — Hash of the protocol message that is signed by the signer Optional, allows the aggregator to store this signature for later if it has yet to start aggregating signatures for the message.

## Response `201`

signatures registration succeeded

## Other responses

- `202` — signatures registration received and queued for later processing
- `400` — signatures registration bad request
- `404` — open message not found
- `410` — signatures registration done too late or the signed entity type was discontinued
- `default` — signatures registration error

---

[API](https://skmtc.net/input-output-hk/apis/mithril-aggregator-server.md) · [All operations](https://skmtc.net/input-output-hk/apis/mithril-aggregator-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/input-output-hk/mithril-aggregator-server/revisions/bbad910c52a3/schema)
