Skip to main content
GET
/
v1
/
customers
/
{customer_id}
Get a customer
curl --request GET \
  --url https://api-staging.bsa.ai/v1/customers/{customer_id} \
  --header 'Authorization: Bearer <token>'

Documentation Index

Fetch the complete documentation index at: https://docs.lms.bsa.ai/llms.txt

Use this file to discover all available pages before exploring further.

Two equivalent forms — see Addressing a customer.

Path parameters

customer_id
string
required
The customer’s LMS id (numeric, returned by create/list). On the /external/{customer_external_id} form, this is the partner-supplied externalId instead.

Examples

# By LMS id
curl -sf "$BASE/v1/customers/42" \
  -H "Authorization: Bearer $TOKEN"

# By externalId
curl -sf "$BASE/v1/customers/external/ext-ada-001" \
  -H "Authorization: Bearer $TOKEN"

Response

200 OK returns the full customer object.

Errors

CodeWhen
not_foundNo customer exists with that id or externalId
invalid_argumentcustomer_id is not a valid numeric identifier (only applies to the LMS-id form)