Postback issue samples
GET
/v1/report/postback-issues/samples
const url = 'https://restapi.affattr.com/v1/report/postback-issues/samples?app_id=1&code=example';const options = {method: 'GET', headers: {'API-KEY': '<API-KEY>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://restapi.affattr.com/v1/report/postback-issues/samples?app_id=1&code=example' \ --header 'API-KEY: <API-KEY>'The latest 20 postbacks or API events with the issue, newest first. Samples are kept 14 days. received_at is in tz. payload is the postback JSON cut to 4 KiB.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” app_id
required
integer
Application id
code
required
string
Issue code
source
string
Sdk or api, both by default
tz
string
IANA timezone, UTC by default
Responses
Section titled “ Responses ”Samples of the issue
Media type application/json
object
data
object
app_id
integer
code
string
samples
Array<object>
object
affise_device_id
string
app_version
string
code
string
event_name
string
level
string
package_name
string
param
string
payload
Payload is the postback JSON cut to 4 KiB, so it may be not a valid JSON.
string
postback_uuid
string
random_user_id
string
received_at
string
sdk_platform
string
sdk_version
string
source
string
Example generated
{ "data": { "app_id": 1, "code": "example", "samples": [ { "affise_device_id": "example", "app_version": "example", "code": "example", "event_name": "example", "level": "example", "package_name": "example", "param": "example", "payload": "example", "postback_uuid": "example", "random_user_id": "example", "received_at": "example", "sdk_platform": "example", "sdk_version": "example", "source": "example" } ] }}Bad request
Media type application/json
string
Example generated
exampleNo credentials (answered with 403 until default-deny is enabled)
Media type application/json
string
Example generated
exampleInvalid credentials or no access
Media type application/json
string
Example generated
exampleInternal server error
Media type application/json
string
Example generated
example