This guide walks through obtaining an access token from Purpl API using the client credentials flow. You’ll log in, create an OAuth Client Application, then request a token and use it in API calls.
<aside> ℹ️
The API root URL differs between test and production. Keep the API root configurable in your integration.
Production: https://api.purplme.com Test: https://api.test.purplme.com
</aside>
<aside> 🔐
Recommendation: After first login, change the password to a strong value (12+ characters) at your User Instance page: User Instance.
</aside>
<aside> ⚠️
Important: Copy the Client Secret before saving. It won’t be shown again. If lost, delete the Application and create a new one.
</aside>


You’ll use the resulting client_id and client_secret to request tokens.