Query String Parameters Examples

This article provides a guide for customers and CRM integrators who wish to launch Archiver wrapped inside an iframe or as a popup window from a CRM module or other external system

Using an authorization token and searching an email address

Query string:

<Base URL>?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUz&email=sally@example.com

The base URL will depend on whether your Archiver account is hosted within the US or EU. Please ask your Sageflo Account Manager if you are not sure which to use


Returned emails: Any emails Archived for sally@example.com in the last 30 days


Searching subject line keywords

Query string:

<Base URL>?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUz&email=sally@example.com&filterSubject=deal

Returned emails: Any emails Archived for sally@example.com in the last 30 days containing the word "deal" in the subject line.


Searching custom date ranges

Query string:

<Base URL>?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUz&email=sally@example.com&startDate=6/1/2023&endDate=9/1/2023

Returned emails: Any emails Archived for sally@example.com between June 1, 20123 and September 1, 2023.


Searching custom filters that are unique identifiers

Query string:

<Base URL>?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUz&filterSubject=7568435&filterType=ORDERNUM

Returned emails: Any emails Archived from the past 30 days where a matching order number of "7568435" was used.

Note: Email address is not required in this case because the custom filter: ORDERNUM was set up within Archiver as a unique identifier. Common examples of custom filters that are unique identifiers are Customer ID, Order Number, and Loyalty Number.


Searching custom filters that are NOT unique identifiers

Query string:

<Base URL>?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUz&email=sally@example.com&filterSubject=WELCOME25&filterType=COUPON_CD

Returned emails: Any emails Archived for sally@example.com from the past 30 days where a matching coupon code of WELCOME25 was used.

Note: Email address is required in this case because the custom filter: COUPON_CD was set up within Archiver as a dependent filter. Common examples of custom filters that are dependent on email address are coupon code, marketing code, and region.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us