/api/v1/signatureResolve a signature
Works out which template applies to an email address and returns the rendered HTML and plain text, banners and disclaimer included. This is the API equivalent of the add-in lookup.
Parameters
Query string
emailRequiredstringThe email address to resolve for.
email
example: "alex.morgan@acme.com"
composeOptionalone ofWhether the email is new, a reply or a forward, for rules and blocks that differ.
one of: new, reply, forward · default "new"
recipientsOptionalone ofWhether everyone on the email is inside the organisation. Unknown counts as external.
one of: external, internal
Example response
{
"html": "<table><tr><td><strong>Alex Morgan</strong><br>Head of Operations</td></tr></table>",
"text": "Alex Morgan\nHead of Operations",
"template_id": "b8e0f1a2-3c4d-4e5f-8a9b-0c1d2e3f4a5b",
"template_version": 5,
"user_id": "7c3f2b1a-0d4e-4f5a-8b9c-1d2e3f4a5b6c"
}Copy and paste
curl -X GET "https://api.usesigned.co.uk/api/v1/signature" \
-H "X-API-Key: $SIGNED_API_KEY"Worth knowing
Returns 404 when no signature applies, for example when the person is not in the directory. Each lookup counts towards your monthly usage.