API by router
Shared hosting internal
Get Merged Customer Config
Path Parameters
instance_idInstance Id
Format
uuidQuery Parameters
customer_idCustomer Id
Format
uuidResponse Body
curl -X GET "https://loading/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/customer-config?customer_id=497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"config": {},
"customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
"instance_id": "06587974-2dbe-4e10-8bf9-38cce0f5a366"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Resolve Domain To Customer
Resolve a hostname to a customer_id for shared hosting.
Maps domain → TenantWebsiteConfig → customer_id. Used by the runtime on shared instances to identify which customer a chat request belongs to based on the Host header.
Path Parameters
instance_idInstance Id
Format
uuidQuery Parameters
hostnameHostname
Response Body
curl -X GET "https://loading/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/resolve-domain?hostname=string"{
"customer_email": "string",
"customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",
"display_name": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}