Skip to main content

POST /signature/create

Create a digital signature for provided data.

{{baseUrl}}/signature/create

Headers

HeaderTypeDescription
x-api-keystringThe API key required for authentication.

Request Body

ParameterTypeDescription
privateKeystringThe private key used to sign the provided data.
datastringThe data to be signed.

Sample Request Body:

{
"privateKey": "59a85d6d233ffaf32d25d801dfb83a63dd9d6635ff2b8654b589f827bf95304f",
"data": "Hello, world!"
}

Click Send and wait for the response.

Response (Success - 200)

ParameterTypeDescription
signaturestringThe generated digital signature for the provided data.

Sample Response Body:

{
"signature": "304502201a98bbf689941771477cf111d8ed436f1cd66ec52ff84178a1c5e21b27acb8d20221008718ef15bd46d34f60f224d9bfa69edd88abf9ee68b097b02dc8a837086dee51"
}

Response (Server Error - 500)

ParameterTypeDescription
errorstringDescribes the error that occurred.

Sample Response Body:

{
"error": "Server error"
}