Skip to main content

What is a Treet API Key

Treet requires both a Client Id and an API Key to identify and authenticate requests. Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.

Obtaining a Treet API Key

Please reach out to your Treet engineering contact to initiate an API key exchange. Both X-Treet-Client-Id and X-Treet-Authentication-Key will be provided by the Treet team.

Different Keys for Different Environments

Treet’s test and production environments are fully separate, and each has its own credentials. A X-Treet-Client-Id and X-Treet-Authentication-Key pair authenticates only against the environment it was issued for.