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

Prod environment X-Treet-Authentication-Key keys are prefixed with tr_.

Test environment X-Treet-Authentication-Key keys are prefixed with tr_test