Installation and Attribution
This document describes the Onside API endpoint for retrieving app installation and attribution data. It is intended for use by apps and SDKs upon their first launch.
Matching approach
Client-provided data
Existing installation check
New installation logic
# The JWS response
eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpY19rZXlfMSJ9.eyJpc3Mi...
# Decoded response
{
"iss": "https://onside.io",
"aud": "com.example.my-awesome-app",
"iat": 1678886400,
"exp": 1678890000,
"jti": "4d3f2c1a-6b7c-4d3f-8c1a-6b7c4d3f8c1a",
"request_token": "a1b2c3d4-client-random-token-5e6f",
"installation_token": "a1b2c3d4-onside-install-token-5e6f"
}Information provided by the client device for attribution matching.
A unique, client-generated random string to bind the installation.
a1b2c3d4-client-random-token-5e6fThe app's bundle identifier.
com.example.my-awesome-appThe device model identifier (e.g., iPhone14,5).
iPhone15,2The version of the device's operating system.
17.2The device's BCP 47 language code.
en-USThe available disk capacity on the device in bytes
21489729783Match Found.
Returns a signed JSON Web Token (JWT) as a plain text string. The JWT payload contains the installation token and attribution data.
You must validate the JWT signature using our public key,
published at: https://onside.io/.well-known/jwks.json.
Check AttributionResponse for the token schema.
eyJhbGciOiJSUzI1NiIsImtpZCI6InB1YmxpY19rZXlfMSJ9.eyJpc3Mi...Match Found.
Returns a signed JSON Web Token (JWT) as a plain text string. The JWT payload contains the installation token and attribution data.
You must validate the JWT signature using our public key,
published at: https://onside.io/.well-known/jwks.json.
Check AttributionResponse for the token schema.
Last updated
Was this helpful?