Introduction

The Link Verification API exists to ensure that a signed link from an Ometria email was actually sent to the listed recipient by the Ometria platform. 

The response data will also confirm the date of the send.

Path

GET /link-verify

Request Parameters

profile_idProfile ID of the contact being checked
typestring
inquery
send_idID of the sent email
typestring
inquery
signatureSignature to verify the above two parameters as well as return a sent timestamp.
typestring
inquery

Example Request

GET /link-verify?profile_id={profile.hash}&send_id={email.uuid}&signature={email.signature} 

Response Example

The API will return the following if valid: 

{
    "was_sent":true,
    "timestamp_sent":"2019-02-24 12:45:32",
    "profile":{"id":"xxx","email":"yyy", ... profile object ...}
}


If not valid:

{
    "was_sent":false<span class="fr-marker" data-id="0" data-type="false" style="display: none; line-height: 0;"></span><span class="fr-marker" data-id="0" data-type="true" style="display: none; line-height: 0;"></span>
}