To access the Deals API, every request must include the following three mandatory headers:
| Field Name | Type | Is mandatory (Y/N)? | Description |
|---|---|---|---|
clientid |
String | Y | Partner-issued client identifier used to generate the auth token. |
clientSecret |
String | Y | Partner-issued secret key used alongside clientID to generate the token |
curl --location 'https://iam.inmobi.com/iam/v3/app/token' \
--header 'Content-Type: application/json' \
--data '{
"clientId": "<client id value>",
"clientSecret": "<client secret value>"
}'
{
"httpCode": 200,
"data": {
"token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InZSY0Flb29fcFFMTnFiREo4ekZ2ciJ9.eyJpc3MiOiJodHRwczovL3N0YWdpbmcuaWFtLmF1dGguaW5tb2JpLmNvbS8iLCJzdWIiOiJoelVlaEh5alNDcGdwN0IxSU9mT0s0Z1ozZUtRekxsdUBjbGllbnRzIiwiYXVkIjoiaHR0cHM6Ly9pbm1vYmlpYW0udXMuYXV0aDAuY29tL2FwaS92Mi8iLCJpYXQiOjE3NTA3ODAzNjEsImV4cCI6MTc1MDg2Njc2MSwic2NvcGUiOiJjbGllbnRfY3JlZGVudGlhbHMiLCJndHkiOiJjbGllbnQtY3JlZGVudGlhbHMiLCJhenAiOiJoelVlaEh5alNDcGdwN0IxSU9mT0s0Z1ozZUtRekxsdSJ9.c3xwBQfXq5oVY04ReS8uFrgEsbnW_aGUkS6D3UEYMAosbcc66_tMFoQUIDuhk0tj-4ol9YNpMviy5ot4JyadErhRGa3gzyUQnwz6lFSNWK95g_k1weVKq3gyhp5-ImBNyW0xNvUG4u7QIG0KmC1jTAfjM5kJsL4SL1XWzmEVNc_o50tvBjGoBCc88ChDkel3NuZYBxCN-idQ3Y0N_okA68RYIgzlhIfpiv4LccOEib3I_jK17myZVlkno7JlG2p8HTvkYVPS3p15OhDAKt9sLMAN5xeCP9Fme9AtnnJNAa-E7mjxWner52I4Q75DxsBk47oEzE443FdImgz-8AJi_w",
"validTill": "2025-06-25T15:52:41.21"
}
}
API requests without these headers will result in a 401 or 400. For more information, see Error Codes.
By installing this SDK update, you agree that your Children Privacy Compliance setting remains accurate or that you will update that setting, whenever there is a change in your app's audience. You may update the app's Children Privacy Compliance settings at https://publisher.inmobi.com/my-inventory/app-and-placements.
Support Center