Check a postback
const url = 'https://restapi.affattr.com/v1/report/postback-issues/validate';const options = { method: 'POST', headers: {'API-KEY': '<API-KEY>', 'Content-Type': 'application/json'}, body: '{}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://restapi.affattr.com/v1/report/postback-issues/validate \ --header 'API-KEY: <API-KEY>' \ --header 'Content-Type: application/json' \ --data '{}'The body is one SDK postback, a JSON object (an array is taken by its first element), up to 64 KiB. A mobile postback must carry affise_pkg_app_name of an application of the user and, if set, affise_app_id of an application of the user with this package. A web or telegram postback is answered only when the attribution backend binds it to an application of the user, 403 otherwise. The answer is the verdict of the attribution backend: rejected, warning or ok, the issues found (code, level, param) and the application the postback is bound to.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”SDK postback
object
Example generated
{}Responses
Section titled “ Responses ”Verdict of the postback
object
Example generated
{}Not a postback
Example generated
exampleNo credentials (answered with 403 until default-deny is enabled)
Example generated
exampleInvalid credentials or no access
Example generated
exampleBody too large
Example generated
exampleThe validation service is temporarily unavailable
Example generated
example