Skip to main content
Edit 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.

Path Parameters

id
string
required

Identifier of the stamp to change.

Minimum string length: 1
Example:

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

Body

application/json
border
enum<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 the uploaded picture is drawn without one. At least one of border, color, image, name, rendered, shape and texts must be provided. Providing border requires rendered.

Available options:
null,
none,
thin,
thick,
double-thin,
double-thick
color
string | null

Colour the frame and the text are drawn in. At least one of border, color, image, name, rendered, shape and texts must be provided. Providing color requires rendered.

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

"#ffaa55"

image
string | null

Hash of the picture the stamp is built around, for the shapes that hold one. A picture that is new to the stamp has to be a file the caller can reach and one that nothing else has claimed yet. At least one of border, color, image, name, rendered, shape and texts must be provided. Providing image requires rendered.

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

"s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj"

name
string | null

Name the stamp is listed under when a signer picks one. At least one of border, color, image, name, rendered, shape and texts must be provided.

Example:

"Company stamp"

rendered
string | null

Hash of the picture of the stamp as the client has just redrawn it. This is what is placed onto a document, so it is what carries the edit through to the documents signed from now on. At least one of border, color, image, name, rendered, shape and texts must be provided. Required when border is provided. Required when color is provided. Required when image is provided. Required when shape is provided. Required when texts is provided.

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

"s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj"

shape
enum<string> | null

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. At least one of border, color, image, name, rendered, shape and texts must be provided. Providing shape requires rendered.

Available options:
null,
rectangle,
circle,
rectangle-image,
circle-image,
image
texts
object[]

Lines of text the stamp is built from, in the order the layout places them. The whole set is replaced by what is sent, so a line that is left out is gone. At least one of border, color, image, name, rendered, shape and texts must be provided. Providing texts requires rendered.

Response

Returns the stamp as it now stands.

__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"