Complaints

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

To retrieve complaints from inboxroad please do the following: Make a get request to https://api.inboxroad.com/api/v2/fbl with the correct bearer-token and content type as application/json

curl -H ‘Authorization: Token  {{ TOKEN }}’
curl -H ‘Content-Type:application/json’ https://api.inboxroad.com/api/v2/fbl      

* You have received your API token during your set-up at inboxroad. If not, please contact your account manager.

{
 “uuid”: Unique identifier,
 “timelogged”: Unix timestamp,
 “header_list_unsubscribe”: List unsubscribe header,
 “orig”: originator (from MAIL FROM: ),
 “rcpt”: recipient (RCPT TO: ) being reported,
 “header_subject”: Header subject line
 “header_return_path”: Original ReturnPath,
 “header_from”: Original Header from,
 }

Query parameters for bounce calls

Last_id: [UUID of the last record]
Returns all logs from after the given record
order: [asc/desc] Determines if you get the records in ascending or descending order

For example:

curl -H ‘Authorization: Token  {{ TOKEN }}’ -H ‘Content-Type:application/json’ https://api.inboxroad.com/api/v2/fbl?last_id=ce95fca7-b028-4f5c-810c-8bddeda4cac6
curl -H ‘Content-Type:application/json’ https://api.inboxroad.com/api/v/bounces?last_id=ce95fca7-b028-4f5c-810c-8bddeda4cac6&order=asc

Pagination

All records are paginated with the following structure

{
 “count”: Total number of results,
 “next”: URL to the next page of records,
 “previous”: URL to the previous page of records,
 “results”: [
 …….,
 list of results,
 ……
 ]
 }