Signatures

Save a signature

Stores a signature for reuse. Up to 10 per user; the first one saved becomes the default.

post/v1/users/me/signatures

Request

  • Base URL: https://api.signvoy.com
  • URL: https://api.signvoy.com/v1/users/me/signatures
  • Auth: HTTP bearer

Request body

source'draw' | 'type' required

How the signature was produced

dataUrlstring required

Base64 PNG data URL, up to 256 KB decoded

typedNamestring

The name that was typed. Required when source is 'type'.

fontKey'caveat' | 'dancing-script' | 'sacramento' | 'great-vibes' | 'homemade-apple' | 'allura' | 'parisienne'

Font the name was rendered in. Required when source is 'type'.

isDefaultboolean

Make this the default. The first signature a user saves becomes the default regardless.

Example request

{
  "dataUrl": "data:image/png;base64,iVBORw0KGgo..."
}

Response

idstring uuid required
source'draw' | 'type' required

How the signature was produced

dataUrlstring required

The signature image as a base64 PNG data URL

typedNamestring nullable required

The name that was typed. Only set when source is 'type'.

fontKeystring nullable required

Font the name was rendered in, keyed to SIGNATURE_FONTS. Only set when source is 'type'.

isDefaultboolean required

Offered first when signing. At most one per user.

createdAtstring date-time required
updatedAtstring date-time required

Example response

{
  "dataUrl": "data:image/png;base64,iVBORw0KGgo..."
}

Changes

No recorded changes to this operation across all 1 revision of this API.