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-subdomain}.neetopublish.com/api/external/v1/team_members" \
-H 'X-Api-Key: your-api-key' \
-H 'Content-Type: application/json'
Replace your-subdomain 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:
Explore API Reference Browse all available endpoints and their detailed documentation.
Pagination Understand how to paginate through API responses efficiently.
HTTP response codes Learn what different response codes mean and how to handle them.