Opt-in history
Get organization opt-in history
GET https://a.loopmessage.com/api/v1/audience/tracker/?page=1&per_page=20&sort_by=desc
Headers
Name
Type
Description
Authorization*
String
API Key. Required*.
Content-Type*
String
application/json
Query parameters
Name
Type
Description
page
Integer
The current page of the paginated request. Default: 1.
per_page
Integer
The number of items to be returned for a specific page. Default: 20. Max value: 1000.
sort_by
String
Possible values: asc or desc. Default: desc.
from_date
String
YYYY-MM-DD format date. For example: 2010-12-31.
to_date
String
YYYY-MM-DD format date. For example: 2010-12-31.
Response
{
"page": 1,
"num_pages": 7,
"per_page": 20,
"count": 132,
"items": [
{
"id": "string",
"ip_address": "127.0.0.1",
"organization": "uuid string",
"origin": "https://your-website.com/",
"type": "opt_in",
"create_date": "2025-12-31T23:59:59+00:00",
"geo": {
"city": "New York",
"country": "US",
"europe_union": false,
"postal_code": "10001",
"region": "NY",
"time_zone": "America/New_York"
},
"user_agent": {
"bot": false,
"browser": "Safari 18.0",
"device": "Mac",
"email_client": false,
"mobile": false,
"os": "Mac OS X 10.15.7"
}
}
]
}Last updated