Skip to content

Postback issue samples

GET
/v1/report/postback-issues/samples
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.

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

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
example

No credentials (answered with 403 until default-deny is enabled)

Media type application/json
string
Example generated
example

Invalid credentials or no access

Media type application/json
string
Example generated
example

Internal server error

Media type application/json
string
Example generated
example