Added
[Core API] Signatures support
over 3 years ago by Josh Ervin
The Front API now supports signatures! Signatures can be managed in the API using the following endpoints:
GET /signatures/:signature_idGET /teammates/:teammate_id/signaturesGET /teams/:team_id/signaturesPOST /teammates/:teammate_id/signaturesPOST /teams/:team_id/signaturesPATCH /signatures/:signature_idDELETE /signatures/:signature_id
In addition to creating, reading, updating, and deleting signatures via the API, signatures can now also be attached to drafts and messages through the following endpoints:
POST /channels/:channel_id/messagesPOST /conversations/:conversation_id/messagesPOST /channels/:channel_id/draftsPOST /conversations/:conversation_id/draftsPATCH /drafts/:draft_id
For all of the message and draft endpoints listed above, signatures may be attached directly using the signature_id body parameter. Additionally, you can specify the should_add_default_signature parameter to true in place of the signature_id parameter, in which case Front will pick a signature for your message.
