Skip to main content
PATCH
Update User Signature
Any member of your team can be edited, including yourself: the only rule is that the user belongs to the team the API key belongs to. Send at least one of signature and plainTextSignature, and note that unknown fields are refused.

How each signature is used

  • signature — HTML, capped at 100,000 characters, inserted where an email carries {{signature}}. It is sanitized on save, so link images by URL instead of embedding them.
  • plainTextSignature — plain text, capped at 50,000 characters, inserted by {{plainTextSignature}} in emails sent as plain text and in lemwarm. Line breaks are kept and HTML is converted to text.
An empty string clears a signature, and a field you omit keeps its stored value. The response returns both signatures as stored, so the HTML one may come back modified by the sanitizing. A plainTextSignature that passes 50,000 characters once its angle brackets are escaped is rejected as well, since the rest would be dropped on the way to plain text.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

userId
string
required

ID of the team member whose signatures to update (usr_xxx). Any member of your team is allowed, including yourself

Body

application/json

The signatures to change. Provide signature and/or plainTextSignature: an omitted one keeps its stored value, and at least one is required. Unknown fields are refused, and an invalid body fails the whole update, so nothing is written. The HTML signature is sanitized on save, so link images by URL instead of embedding them; an empty string clears it.

signature
string

HTML signature, inserted by {{signature}} in emails sent as HTML. Sanitized on save; an empty string clears it

Maximum string length: 100000
plainTextSignature
string

Plain-text signature, inserted by {{plainTextSignature}} in emails sent as plain text and in lemwarm. Line breaks are kept and HTML is converted to text; an empty string clears it

Maximum string length: 50000

Response

Both signatures of the team member after the update, as stored: the HTML one comes back sanitized

data
object