Skip to main content
Version: v3

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 optionsv3
urlSlug 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

application/json

Successful response

Schema
    existsbooleanrequired

    Indicates whether the url slug exists or not