Skip to main content

Create a stamp.

POST/api/v1/stampsstamps:write

Creates a stamp from SVG artwork. The artwork must be SVG and must not run code when shown. A collection must be one you can see.

Scopestamps:write
AsynchronousNo
MCP toolcreate_stamp
Portal permissionscreate_stamps

Parameters​

NameInTypeRequiredDescription
Docwize-Versionheaderstring (date)Optional
Idempotency-KeyheaderstringOptionalmax 255

Request body​

Content typeType
application/jsonStampCreateInput

Responses​

StatusDescriptionBody
201Success.application/json Stamp or object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

Stamp​

FieldTypeRequiredDescription
created_byUserRefRequired
created_datestring or nullRequired
custom_field_idstring or nullRequired
descriptionstring or nullRequired
interaction_configobjectRequiredHow the stamp behaves when placed: format stamp_interaction.
modified_datestring or nullRequired
namestringRequired
permissionsarray of object or object or object or objectRequired
preview_svgstring or nullRequired
stamp_collection_idstring or nullRequired
stamp_idstringRequired
svgstringRequiredThe stamp's artwork: SVG markup without scripts.

StampCreateInput​

FieldTypeRequiredDescription
custom_field_idstring or nullOptional
descriptionstring or nullOptional
interaction_configobject or nullOptional
namestringRequired
permissionsarray of object or object or objectOptionalWho may use the stamp; everyone when empty.
preview_svgstring or nullOptional
stamp_collection_idstring or nullOptional
svgstringRequired

UserRef​

FieldTypeRequiredDescription
display_namestringRequired
kindstring: user, system, integration or stringRequired
user_idstring or nullRequired