To take full advantage of our Tango API resources, you must establish a secure connection to the Tango API through one of the following methods:
- Basic Authentication (Auth)—Basic Auth is a simple authentication method used to connect to the Tango API. It's less secure compared to OAuth as it relies on static credentials (platform name and API key) to gain access to your platform. See Manage Basic Auth API keys in Tango.
- Open Authorization (OAuth) 2.0—(Recommended) OAuth establishes a more secure connection to the Tango API. It uses authorization tokens to verify your system’s identity. See Why do we recommend OAuth?
OAuth relies on four pieces of information to create a token: client ID, client secret, service account username, and service account password. With OAuth, you can create an unlimited number of service accounts and rotate your client credentials with no downtime. For client credentials, see Manage OAuth client credentials in Tango. For service accounts, see Manage OAuth service accounts in Tango. See our use cases below.
Note:
- As of May 14, 2025, all new client credentials require service accounts to enhance security, and for uninterrupted service. For client credentials established before this date, we highly recommend transitioning to service accounts by November 14, 2025.
- Both API keys (Basic Auth) and OAuth client credentials (OAuth) must be enabled for your production Tango platform. Accessing production API credentials requires additional requirements. See the steps in Get started with Tango API. Contact your Tango representative to enable your production platform.