List signatures
GET
/mail/signatures
const url = 'https://mail.work.optidata.cloud/api/mail/signatures';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://mail.work.optidata.cloud/api/mail/signatures \ --header 'Authorization: Bearer <token>'The signatures belonging to the authenticated user. hash is the stable
identifier used to update one.
Authorizations
Section titled “Authorizations”Responses
Section titled “ Responses ”The user’s signatures.
Media typeapplication/json
Array<object>
A signature block appended to outgoing mail.
object
id
integer
user_id
integer
hash
Stable identifier, used to address the signature.
string
name
string | null
content
HTML content.
string
created_at
string
updated_at
string
Examples
Exampleone
[ { "id": 79, "user_id": 83, "hash": "39922fe6-7060-4932-bc32-eaf484adfd7a", "name": "Work", "content": "<div>Jane Doe — Acme</div>", "created_at": "2025-12-03T20:01:41.000000Z", "updated_at": "2026-07-10T12:35:17.000000Z" }]Missing, malformed or expired authentication key.
Media typeapplication/json
Authentication failures use an error key rather than message.
object
error
required
string
Examples
Examplemissing
No bearer token sent
{ "error": "JWT passport exception: Missing bearer token in request"}Rate limit exceeded. Retry after the window resets.
Media typeapplication/json
Generic error envelope used by policy, binding and framework failures.
object
message
required
Human-readable description of the failure.
string
Examples
Examplethrottled
{ "message": "Too Many Attempts."}