Use the Campaign API to get link, sublink, and partner information. Create new links and update existing links with new partner information.
Authentication
The Campaign API uses Bearer tokens for authentication. You MUST include your Adjust API token in an Authorization header with each request you make to the Campaign API.
If your organization has enabled Single Sign-On (SSO), contact your Adjust representative or email support@adjust.com for help with finding your API token.
For non-SSO accounts, API tokens are located in a user’s profile. To find your token, follow these steps:
Select the account (user) icon.
Select Account settings.
Select the My profile tab.
Your API Token is shown with your User Details. Select the copy button to copy the token to your system clipboard.
Reset your Adjust API token
You can reset your Adjust API token at any time. Resetting your token invalidates the old token. If you reset your Adjust API token, you MUST replace your old token anywhere that you’re using it. Requests made with an invalidated token are rejected by Adjust.
To reset your Adjust API token:
Select the account (user) icon.
Select Account settings.
Select the My Profile tab.
Your API Token is shown with your User details.
Select Reset API token.
Enter your account password in the modal that appears and select Reset to reset your API token. A confirmation appears in the top right of the screen.
Select the copy button next to the API Token to copy the token to your system clipboard.
Fetch partners
Use this endpoint to fetch a list of partners and associated data. Data are returned in an array of partner objects.
Parameters
You MAY pass the following parameters as query parameters:
The maximum number of results to include in the response. This value MUST be a positive integer value. Defaults to 50.
Pagination
Results from this endpoint are paginated using a cursor. Each page returns the location of the previous and next pages. You can include these in your calls to return specific pages.
Each results page contains a paging object containing the cursor positions. You can use these cursor positions to programmatically move between pages. For example, the first page might contain the following paging object:
To go to the second page, add the after value to the next request in the after parameter. For example:
Results from this endpoint are paginated using a cursor. Each results page contains a paging object containing cursor positions. You can use these cursor positions to programmatically move between pages. For example, the first page might contain results like this:
To go to the second page, follow the next link to return results from the next specified cursor position.
To return to a specific location in the results, pass a cursor value in your requests query params.
Results from this endpoint are paginated using a cursor. Each page returns the location of the previous and next pages. You can include these in your calls to return specific pages.
Each results page contains a paging object containing the cursor positions. You can use these cursor positions to programmatically move between pages. For example, the first page might contain the following paging object:
To go to the second page, follow the next link to return results from the next specified cursor position.
Response format
All links are returned as items in the following format:
Results from this endpoint are paginated using a cursor. Each results page contains a paging object containing cursor positions. You can use these cursor positions to programmatically move between pages. For example, the first page might contain results like this:
To go to the second page, follow the next link to return results from the next specified cursor position.
To return to a specific location in the results, pass a cursor value in your requests query params.
Results from this endpoint are paginated using a cursor. Each page returns the location of the previous and next pages. You can include these in your calls to return specific pages.
Each results page contains a paging object containing the cursor positions. You can use these cursor positions to programmatically move between pages. For example, the first page might contain the following paging object:
To go to the second page, follow the next link to return results from the next specified cursor position.