Signatures

Create a signature

Create a signature for a grant. Each grant can have up to 10 signatures.

Nylas sanitizes the HTML content on input to prevent malicious content. Images must use externally hosted URLs (base64 inline images are not supported). Maximum signature size is 100 KB.

post/v3/grants/{grant_id}/signatures

Query parameters

selectstring

Specify fields that you want Nylas to return, as a comma-separated list (for example, select=id,updated_at). This allows you to receive only the portion of object data that you're interested in. You can use select to optimize response size and reduce latency by limiting queries to only the information that you need.

Request body

namestring required

A label for the signature (for example, "Work", "Personal", or "Mobile").

bodystring required

The HTML content of the signature. Maximum 100 KB. Images must use externally hosted URLs (base64 inline images are not supported). Nylas sanitizes the HTML on input to prevent malicious content.

Example request

{
  "name": "Work Signature",
  "body": "<div><p><strong>Nick Barraclough</strong></p><p>Product Manager | Nylas</p><p><a href=\"mailto:nick@nylas.com\">nick@nylas.com</a></p></div>"
}

Response

Signature

request_idstring

The request ID.

Example response

{
  "request_id": "5fa64c92-e840-4357-86b9-2aa364d35b88"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.