Skip to content

Update a signature

PUT
/openapi/signature/{id}
curl --request PUT \
--url https://open-api.replyco.com/openapi/signature/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json-patch+json' \
--data '{ "text": "<p>Kind regards,<br/>Jane — Customer Support</p>" }'

Replaces the text of one of the authenticated user’s signatures, identified by id, and returns it. Returns 404 if the signature is not yours. The signature’s integration links are left unchanged.

Request

  • text (required) — the new signature content (plain text or HTML). HTML is sanitized on save.
id
required
string format: uuid

The id of the signature to update.

The new signature content.

Input model for updating the current user’s signature. Replaces the signature content. The signature’s integration links are left unchanged.

object
text
required

The new signature content. Required. Accepts plain text or HTML. HTML is sanitized on save: unsafe markup (scripts, event handlers, etc.) is stripped.

string
>= 1 characters

Example

<p>Kind regards,<br/>Jane — Customer Support</p>

The signature was updated and is returned.

Media typeapplication/json

A signature belonging to the current user. A signature applies across all of the user’s connected integrations.

object
id
string format: uuid
text

The signature content. May contain HTML; unsafe markup is stripped on save.

string
nullable

Example generated

{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"text": "example"
}

The request is invalid (e.g. text is missing).

User is not authenticated or authorized.

No such signature belongs to the current user.