Retrieve the foreign-system IDs (GoHighLevel contact/opportunity, MX Merchant customer) Lobbie maintains for the patient. Each row includes the Lobbie locationId it belongs to. Filter by system / idType / externalId; keyset-paginated.
Security
PartnerApiKey and PartnerOAuth
- Mock serverhttps://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/patient/{patientId}/external-id
- Productionhttps://api-prod.lobbie.com/lobbie/api/partner/v2/account/{accountId}/patient/{patientId}/external-id
curl -i -X GET \
'https://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/patient/{patientId}/external-id?system=GHL&idType=CONTACT_ID&externalId=string&cursor=string&limit=20' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'x-api-key: YOUR_API_KEY_HERE'Response
{ "externalIds": [ { … } ], "nextCursor": "string" }