Search reply templates
GET/api/v2/reviews/templates
This endpoint lets you browse through all your reply templates.
Request
Query Parameters
Default value: en
Get results in a specific language
Possible values: >= 1
Default value: 1
Page of items to fetch
Possible values: >= 1
Number of items per page.
Filter on templates made to answer positive reviews (ex from 4 to 5 stars on gmb).
Filter on templates made to answer neutral reviews (ex 3 stars on gmb).
Filter on templates made to answer negative reviews (ex from 1 to 2 stars on gmb).
Filter on templates based on their title
Filter on templates based on their text
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Possible values: >= 1
Default value: 1
Current page
Possible values: >= 1
Default value: 1
Max page based on current per_page
value and count
Default value: 0
Number of items per page.
items
object[]
required
Template id
Organisation id
Template update date
Template creation date
Available language in the application
Template title
The content of the reply template.
Placeholders are recognisable within the text by this exact markup @[](name_of_the_placeholder)
.
Where name_of_the_placeholder
is the value
field taken from the GET placeholders
operation.
Example of usable placeholder values: client_full_name
, client_first_name
, business_name
, my_first_name
.
Template is made for negative reviews (ex from 1 to 2 stars on gmb)
Template is made for neutral reviews (ex 3 stars on gmb)
Template is made for positive reviews (ex from 4 to 5 stars on gmb)
{
"page": 1,
"max_page": 1,
"count": 0,
"items": [
{
"id": 34,
"org_id": 42,
"update_date": 2017,
"creation_date": 2017,
"language": "fr",
"title": "string",
"text": "hello @[](client_full_name),\nThanks from the team at @[](business_name).\n@[](my_first_name)",
"negative": true,
"neutral": true,
"positive": true
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
HTTP status code
Error message
Possible values: [query
, body
, response
, param
]
Where in the request the error occurred
errors
object[]
required
Possible values: non-empty
Path to the property with the error
constraints
object
required
Error message
{
"statusCode": 404,
"message": "Cannot find item",
"location": "query",
"errors": [
{
"path": "business.id",
"constraints": {
"object_required_property": "Required property"
}
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}