Check url slug
GET/blogs/posts/url-slug-exists
The "Check url slug" API checks whether a blog post url slug is already in use for the location. Call it before publishing a blog post.
Request
Version stringrequired
API Version
Available options
v3urlSlug stringrequired
URL slug to check for uniqueness
locationId stringrequired
Sub-account (location) identifier the slug is being checked under
postId string
Identifier of the existing post to exclude from the uniqueness check
Successful response
- application/json
- Schema
- Example (auto)
Schema
existsbooleanrequired
Indicates whether the url slug exists or not
{
"exists": false
}