Retrieve complaints
If you have questions regarding this API, please visit our API FAQ page.
Retrieving complaints
To retrieve complaints from inboxroad please make a GET request to https://webapi.inboxroad.com/api/v1/fbl with the correct bearer-token and content type as application/json
curl -H ‘Authorization: Basic {{ TOKEN }}’curl -H ‘Content-Type:application/json’ https://webapi.inboxroad.com/api/v1/fbl*You should have received your API token during your set-up at inboxroad. If not, please contact your account manager.
Fields in JSON response
Response should be in JSON format and have such fields:
| Field name | Description |
|---|---|
| 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 complaints calls
The following query parameters can be used for complaints calls:
| Param name | Possible values | Description |
|---|---|---|
| last_id | UUID of the last record | Returns all logs after the given record |
| order | asc, desc | Determines whether records are returned in ascending or descending order |
For example:
curl -H ‘Authorization: Basic {{ TOKEN }}’curl -H ‘Content-Type:application/json’ https://webapi.inboxroad.com/api/v1/fbl?last_id=ce95fca7-b028-4f5c-810c-8bddeda4cac6&order=ascPagination
All records are paginated with the following structure
| Field name | Description |
|---|---|
| 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 |