GET
Every email INFIMA has sent to the user: welcome emails, training reminders, phishing simulations, breach notifications. Useful for support ("did they get the reminder?") and for deliverability checks. Defaults to the last 30 days.
Path parameters
user_idstringRequiredUser id (the user's INFIMA id).
Query parametersall optional unless marked
sincestring (date-time)Only records at or after this time (RFC 3339).
untilstring (date-time)Only records before this time (RFC 3339).
typestringComma-separated message types.
limitintegerDefault 100min 1 · max 500
cursorstringOpaque cursor from the previous page's page.next_cursor.
curl "https://app.infimasecapis.com/v2/users/b7e1c0d2-44aa-5f9e-8c33-1a2b3c4d5e6f/emails" \
-H "X-API-Key: $INFIMA_API_KEY"Response objectPage of SentEmail
dataarray of SentEmailShowHide item properties(6)
user_idstringtypestringOpen enum.
One of
welcometraining_remindertraining_assignmentphishingbreach_notificationpolicy_remindercertificatesubjectstringfromstring (email)sent_atstring (date-time)deliverystringHow it was delivered. graph and gmail mean direct mailbox delivery through the client's directory integration.
One of
smtpgraphgmailpageobjectShowHide properties(2)
next_cursorstringNullablePass as cursor to fetch the next page. Null on the last page.
has_moreboolean