A read-only API that returns the base domain of LivePerson and used in the LivePerson APIs.
Domain Retrieval Tool
Instead of using the API below yourself, you can use the following tool to retrieve all service names and their respective base URIs. This is useful if you need those URIs as a point of reference or debugging. You should not hardcode any domains retrieved from this in your code, but should instead perform a lookup using the Domain API dynamically since these values may change.
To use the tool, simply input your account number below and hit the button.
The different service names can be found in the relevant documentation for the API you're looking to use. They can be found in each document's Overview page. Service names are case-sensitive. Please make sure to input serviceName as it is provided in each document's overview.
Request
The GET method used returns the base URI for the specified account ID and serviceName.
Method | URL |
---|---|
GET | https://api.liveperson.net/api/account/{accountId}/service/{serviceName}/baseURI.json?version=1.0 |
URL Parameters
Name | Description | Type/Value | Required |
---|---|---|---|
account | LivePerson account ID | string | Required |
service | Service name according to the relevant API | string | Required |
Response
JSON example:
{
"baseURIs": [
{
"service": "liveEngageUI",
"account": "EXAMPLE123",
"baseURI": "lo.le1.liveperson.net"
},
{
"service": "visitorFeed",
"account": "EXAMPLE123",
"baseURI": "lo.v-feed.liveperson.net"
},
{
"service": "etool",
"account": "EXAMPLE123",
"baseURI": "z2.etool.liveperson.net"
}
]
}
Optional response status codes
Status | Description |
---|---|
200 OK | Successfully retrieved the data |
400 Bad Request | Problem with body or query parameters |
401 Unauthorized | Bad authentication (invalid site or agent) |