Step 1: Make Your First API Call
Let’s retrieve all team members in your workspace using a GET request:
curl -X GET "https://{your-workspace}.neetopublish.com/api/external/v1/team_members" \
-H "X-Api-Key: your-api-key" \
-H "Content-Type: application/json"
Replace your-workspace with your actual workspace subdomain and your-api-key with your generated API key.
Step 2: Understanding the Response
A successful response will look like this JSON format:
{
"team_members": [
{
"id": "user-123",
"email": "john@example.com",
"first_name": "John",
"last_name": "Doe",
"time_zone": "UTC",
"profile_image_url": "https://example.com/avatar.jpg",
"active": true,
"organization_role": "admin"
}
],
"pagination": {
"total_records": 1,
"total_pages": 1,
"current_page": 1,
"page_size": 30
}
}
Next Steps
Now that you’ve made your first API call, you can: