Skip to main content
Create a stamp

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Body

application/json
assignTo
string
required

Who the stamp is being made for: the username of a user for a personal stamp, or the identifier of an organization for an organization one. A personal stamp can only be made for a user the caller is able to see and whose account is in use.

Example:

"john.doe@example.com"

name
string
required

Name the stamp is listed under when a signer picks one.

Example:

"Company stamp"

rendered
string
required

Hash of the uploaded picture of the finished stamp. The stamp is drawn by the client from the design sent alongside and uploaded as an image first; this is the one that is placed onto a document, which is why a stamp cannot be created without it.

Minimum string length: 1
Pattern: ^[a-z0-9]+$
Example:

"s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj"

shape
enum<string>
required

Layout to build the stamp from: a rectangle or a circle of text, either of the two holding the uploaded picture instead of the text, or the bare picture on its own.

Available options:
rectangle,
circle,
rectangle-image,
circle-image,
image
type
enum<string>
required

Whether to create a personal stamp for one user or an organization stamp shared across an organization. An organization stamp additionally needs organization stamps to be turned on for the caller and the right to manage them, and it cannot be turned into a personal one later.

Available options:
user,
organization
border
enum<string> | null
default:none

Frame drawn around the stamp - none at all, a single line thin or thick, or a double line in either weight. A stamp that is nothing but the uploaded picture is drawn without one.

Available options:
null,
none,
thin,
thick,
double-thin,
double-thick
Example:

"none"

color
string | null
default:#000000

Colour the frame and the text are drawn in.

Pattern: ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$
Example:

"#ffaa55"

image
string | null

Hash of an already uploaded picture to build the stamp around, for the shapes that hold one. The file has to be one the caller can reach and one that nothing else has claimed yet.

Minimum string length: 1
Pattern: ^[a-z0-9]+$
Example:

"s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj"

texts
object[]

Lines of text the stamp is built from, in the order the layout places them. They are kept so the stamp can be reopened and edited later - what actually reaches a document is the picture the client drew from them.

Maximum array length: 10

Response

Returns the stamp as it was stored.

__addedBy
string | null

User who set the stamp up. On a personal stamp they keep the right to change and remove it even when the stamp was made for somebody else.

Example:

"john.doe@example.com"

__addedOn
string<date-time> | null

Time the stamp was created.

__id
string | null

Identifier of the stamp. It is what a signature field and a user's default stamp point at.

Example:

"a0d01c9d-f72f-4c57-af11-e26bda19cc59"

__organization
string | null

Organization the stamp belongs to. An organization stamp is offered to the members of this one; on a personal stamp it simply records the organization its owner was in.

Example:

"12e2b52d-01a1-4048-abc5-4bb54c859d52"

__owner
string | null

User the stamp belongs to. On a personal stamp that is the person who signs with it; on an organization stamp it is whoever set it up, since the stamp itself is shared across the organization.

Example:

"john.doe@example.com"

__temp
boolean

Whether the stamp was drawn on the spot by an external recipient while signing. Such a stamp is reachable only by that recipient, never appears among the stamps of the people working in the platform, and is cleaned up automatically once it has been sitting around long enough.

border
string | null

Frame drawn around the stamp - none at all, a single line thin or thick, or a double line in either weight. A stamp that is nothing but an uploaded picture is drawn without one.

Example:

"thin"

color
string | null

Colour the frame and the text are drawn in, as a hexadecimal value.

Example:

"#ff0000"

image
string | null

Hash of the picture placed inside the stamp, for the shapes that hold one. It is the raw picture the design uses, not the image that ends up on a document - that one is rendered.

Example:

"s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj"

name
string | null

Name the stamp is listed under when a signer picks one.

Example:

"Company stamp"

rendered
string | null

Hash of the finished picture of the stamp, drawn from the design by the client that saved it. This is the image that is placed onto a document, so a stamp without it cannot be signed with.

Example:

"s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj"

shape
string | null

Layout the stamp is built from: a rectangle or a circle of text, either of the two holding the uploaded picture instead of the text, or the bare picture on its own.

Example:

"circle"

texts
object[]

Lines of text the stamp is built from, in the order the layout places them - a rectangular stamp stacks them, a circular one bends the outer lines around the ring and keeps the inner ones across the middle. The shapes built around a picture have no text to lay out.

type
string | null

Whether this is a personal stamp, used by the one person it belongs to, or an organization stamp shared with everyone in the organization who may use them. It is settled when the stamp is created and cannot be changed afterwards.

Example:

"user"