Skip to content

Retrieve complaints

If you have questions regarding this API, please visit our API FAQ page.

Complaints (feedback-loop reports) are received from ISPs when a recipient marks your email as spam. Monitoring them is important for protecting your sender reputation.

Retrieving complaints

Make a GET request to https://webapi.inboxroad.com/api/v1/fbl with a valid token (see v1 authentication).

Terminal window
curl -X GET 'https://webapi.inboxroad.com/api/v1/fbl' \
-H 'X-API-Key: <your_token>' \
-H 'Content-Type: application/json'

Response fields

Each complaint record contains the following fields:

Field nameDescription
uuidUnique identifier of the record.
timeloggedUnix timestamp of when the event was logged.
header_list_unsubscribeList-Unsubscribe header.
origOriginator (from MAIL FROM:).
rcptRecipient (RCPT TO:) being reported.
header_subjectSubject header of the original email.
header_return_pathOriginal Return-Path.
header_fromOriginal From header.
extra_fieldsAny custom headers configured for your account.

Query parameters

Param namePossible valuesDescription
last_idUUID of the last recordReturns records strictly newer than this record’s timelogged. Use for incremental polling.
orderasc, descSort order. desc (newest first) is the default.
pageInteger1-based page number.
page_sizeIntegerItems per page. Default 100, maximum 1000.

For example:

Terminal window
curl -X GET 'https://webapi.inboxroad.com/api/v1/fbl?last_id=ce95fca7-b028-4f5c-810c-8bddeda4cac6&order=asc' \
-H 'X-API-Key: <your_token>' \
-H 'Content-Type: application/json'

Pagination

Results are paginated with the standard structure:

Field nameDescription
countTotal number of records.
nextURL to the next page, or null.
previousURL to the previous page, or null.
resultsList of complaint records.