Authorization
The Trade Desk
Prerequisites
Before creating a The Trade Desk credential, you need to obtain your Long-Lived API Token from your The Trade Desk account. The Trade Desk uses token authentication for all API requests, with the token sent in the TTD-Auth header.
To obtain your The Trade Desk API token, follow these steps:
-
Sign in to your The Trade Desk account using your administrator credentials.
-
Navigate to the API or Developer section in your The Trade Desk account, typically accessible from the account menu or settings.
-
In the API section, navigate to Token Management or API Tokens to access token configuration options.
-
Look for the Long-Lived API Token section in your The Trade Desk API settings.
-
If you don't have a long-lived API token yet, click Create Token or Generate Long-Lived Token to create a new API token.
-
Configure your API token settings:
- Enter a name for the token (e.g., "Nexla Integration")
- Review and select the permissions or scopes for the token (if applicable)
- Set an expiration date if required (optional)
-
Click Create or Generate to create the long-lived API token.
-
Copy the API token immediately after it's generated, as it may not be accessible again after you navigate away from the page.
-
Store the API token securely, as you will need it to configure your Nexla credential. The API token is sensitive information and should be kept confidential.
The API token is sent in the TTD-Auth header for all API requests to The Trade Desk API. The token authenticates your requests and grants access to The Trade Desk resources based on your account permissions. If your API token is compromised, you should immediately revoke it in your The Trade Desk account settings and generate a new one. For detailed information about obtaining and managing API tokens, API authentication, and available endpoints, refer to the The Trade Desk API documentation.
Create a The Trade Desk Credential
- To create a new The Trade Desk credential, after selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.
New Credential Overlay – The Trade Desk

Credential Name & Description
-
Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.
Resource descriptions are recommended but are not required. They should be used provide information about the resource purpose, data freshness, etc. that can help the owner and other users efficiently understand and utilize the resource.
Token Authentication
The Trade Desk uses token authentication for all API requests. The API token is sent in the TTD-Auth header, and you can select whether to connect to the production or sandbox API environment.
-
Select your API URL from the API URL dropdown menu. Choose whether you want to connect to The Trade Desk API production or sandbox APIs:
- Production:
https://api.thetradedesk.com/v3- For production use - Sandbox:
https://apisb.thetradedesk.com/v3- For testing and development
- Production:
-
Enter your Long-Lived API Token in the Long-Lived API Token field. This is the long-lived API token you obtained from your The Trade Desk account (API > Token Management). The API token is sent in the
TTD-Authheader for all API requests to The Trade Desk API. The API token is sensitive information and must be kept confidential.Your The Trade Desk API token can be found in your The Trade Desk account under API > Token Management. The API token is sent in the
TTD-Authheader for all API requests to The Trade Desk API.If your API token is compromised, you should immediately revoke it in your The Trade Desk account settings and generate a new one. The API token provides access to your The Trade Desk account data and should be treated as sensitive information. Keep your API token secure and do not share it publicly.
For detailed information about obtaining and managing API tokens, API authentication, and available endpoints, see the The Trade Desk API documentation and The Trade Desk API overview.
Save the Credential
-
Once all of the relevant steps in the above sections have been completed, click the Save button at the bottom of the overlay to save the configured credential.
-
The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation and can be selected for use with a new data source or destination.