Getting Started¶
This guide will walk you through making your first successful API call in under 5 minutes.
Step 1: Get Your API Key¶
Before you can use the API, you need an API key.
- Log in to your People Cloud client account.
- Navigate to the Settings > API Keys page in the portal.
- Generate a new key and copy it to a secure location. This key must be included in the
Authorizationheader of every request.
Step 2: Make Your First API Call¶
Use the following curl command in your terminal to confirm your key is working. Replace YOUR_API_KEY_HERE with the key you just generated.
curl --request GET \
--url [https://sandbox-api.peoplecloudpro.com/v1/auth](https://sandbox-api.peoplecloudpro.com/v1/auth) \
--header 'Authorization: YOUR_API_KEY_HERE'