Blog PostsVersion: 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.
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Scope:
blogs/ check-slug. readonlyAuth methods:
OAuthPrivate IntegrationToken type:
Sub-Account TokenRequest
Headers
Versionstringrequired
API Version
Available options
v3Example:
v3Query Parameters
urlSlugstringrequired
URL slug to check for uniqueness
Example:
my-blog-postlocationIdstringrequired
Sub-account (location) identifier the slug is being checked under
Example:
ve9EPM428h8vShlRW1KTpostIdstring
Identifier of the existing post to exclude from the uniqueness check
Example:
66c381b38be80858b9af62b6Response
Successful response
existsbooleanrequired
Indicates whether the url slug exists or not
Example:
false