Get inquiries
Endpoint for retrieving inquiries by filter that belong to the current user.
Query parameters
-
adId
string -
advertiserId
string -
advertiserTag
string -
advertisingCompanyTag
string -
advertisingCompanyId
string -
page
number(float) Minimum value is
1
. Default value is1
. -
dateFrom
string Format should match the following pattern:
^[0-9]{4}-[0-9]{2}-[0-9]{2}$
. -
dateTo
string Format should match the following pattern:
^[0-9]{4}-[0-9]{2}-[0-9]{2}$
. -
fakeData
boolean Make testing possible in a non-production environment. Returns fake data in the response. Also pairs the fake data with already imported advertisements if possible.
GET
/advertising/v1.0/inquiries/
curl \
-X GET http://apis.public-staging.reas.cz/advertising/v1.0/inquiries/ \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"success": true,
"data": [
{
"id": "63d9007e66fc41b2cd1057c6",
"createdAt": "string",
"adId": "63d9007e66fc41b2cd1057c6",
"adThirdPartyId": "string",
"advertiserId": "63d9007e66fc41b2cd1057c6",
"advertiserThirdPartyId": "string",
"advertisingCompanyId": "63d9007e66fc41b2cd1057c6",
"advertisingCompanyThirdPartyId": "string",
"email": "string",
"phoneNumber": "string",
"message": "string"
}
],
"paginationInfo": {
"page": 42.0,
"pages": 42.0
}
}