External Links
Retrieve shared sidebar links shown in the white-label console.
Success
Object containing response data for this resource.
Indicates whether the request completed successfully.
Short code or application-level status code for this resource.
GET /agency/external-links HTTP/1.1
Host: api.moregoodreviews.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Success
{
"success": true,
"code": 200,
"data": [
{
"id": 3,
"uuid": "04eb8a04-8438-43d5-9d22-869ad5dc7d4c",
"label": "Book Online",
"url": "https://acmedental.example.com/book"
}
]
}Add a shared navigation link for client console users.
Object containing response data for this resource.
Sidebar label shown to client-console users. Accepts a string of at most 30 characters.
Absolute http or https URL opened from the client-console sidebar. Accepts at most 500 characters.
Success
Object containing response data for this resource.
Indicates whether the request completed successfully.
Short code or application-level status code for this resource.
POST /agency/external-links HTTP/1.1
Host: api.moregoodreviews.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 67
{
"label": "Book Online",
"url": "https://acmedental.example.com/book"
}Success
{
"success": true,
"code": 200,
"data": {
"id": 3,
"uuid": "04eb8a04-8438-43d5-9d22-869ad5dc7d4c",
"label": "Book Online",
"url": "https://acmedental.example.com/book"
}
}Change the label or URL for a shared navigation link.
Unique numeric identifier for the external link.
Object containing response data for this resource.
Sidebar label shown to client-console users. Accepts a string of at most 30 characters.
Absolute http or https URL opened from the client-console sidebar. Accepts at most 500 characters.
Success
Object containing response data for this resource.
Indicates whether the request completed successfully.
Short code or application-level status code for this resource.
PUT /agency/external-links/{link_id} HTTP/1.1
Host: api.moregoodreviews.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 74
{
"label": "Schedule Visit",
"url": "https://acmedental.example.com/schedule"
}Success
{
"success": true,
"code": 200,
"data": {
"id": 3,
"uuid": "04eb8a04-8438-43d5-9d22-869ad5dc7d4c",
"label": "Schedule Visit",
"url": "https://acmedental.example.com/book"
}
}Remove a shared navigation link from the client console.
Unique numeric identifier for the external link.
Success
Object containing response data for this resource.
Indicates whether the request completed successfully.
Short code or application-level status code for this resource.
DELETE /agency/external-links/{link_id} HTTP/1.1
Host: api.moregoodreviews.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Success
{
"success": true,
"code": 200
}Last updated