Skip to main content

Your First API Call

This guide walks through making a real API call and understanding the response.

Example: List HubSpot Contacts

Full response

Compact response (saves tokens)

Add "format": "compact" to strip the wrapper:

Field-picked response (saves more tokens)

Add "fields": ["id", "properties.email"]:

Understanding Errors

All errors follow this structure: