Skip to content

Who the key belongs to

GET
/v1/me
curl --request GET \
--url https://restapi.affattr.com/v1/me \
--header 'API-KEY: <API-KEY>'

The role of the key and what it gives access to. A client key: role client, the client with all its applications. An agency key: role agency, each client that granted the agency access, with the granted applications and partners (the ids to use in filter[applications] and filter[partners]).

Access of the key

Media type application/json
object
clients
Array<object>
object
applications
Array<object>
object
apple_int_id
string
currency
string
id
integer
name
string
package_name
string
status
string
Allowed values: active archived disabled unknown
store
string
id
integer
name
string
partners
Array<object>
object
id
integer
name
string
tracking_domain
string
role
string
Allowed values: client agency
Example
{
"clients": [
{
"applications": [
{
"status": "active"
}
]
}
],
"role": "client"
}

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

Media type application/json
object
error

What went wrong. 403 always says “Access denied”.

string
request_id

Id of the request, to quote to support.

string
Example
{
"error": "Access denied",
"request_id": "6ebb1a30-76ef-42fe-8ba8-c423791de78e"
}

Invalid credentials

Media type application/json
object
error

What went wrong. 403 always says “Access denied”.

string
request_id

Id of the request, to quote to support.

string
Example
{
"error": "Access denied",
"request_id": "6ebb1a30-76ef-42fe-8ba8-c423791de78e"
}

Internal server error

Media type application/json
object
error

What went wrong. 403 always says “Access denied”.

string
request_id

Id of the request, to quote to support.

string
Example
{
"error": "Access denied",
"request_id": "6ebb1a30-76ef-42fe-8ba8-c423791de78e"
}