Lookup GHL contact
Look up one CRM contact by phone within the project that owns this agent. Returns contact: null when no match is found. Customer role: agency_admin. Example request: GET /api/agent-builder/agents/{id}/ghl-contacts/lookup?phone=%2B14155551234&locationId=loc_9f7a123&campaignId=campaign_speed_to_lead_123.
Required API key scope: ghl:read.
Authorizations
Send your API key as Authorization: Bearer YOUR_API_KEY.
Path Parameters
Agent id returned by the Agents API.
1Query Parameters
Phone number to look up. Formatting differences are tolerated; E.164 is recommended.
1Project location id used to disambiguate an agent shared across multiple projects.
1Campaign id used to scope the contact lookup.
1