ghl_blog_check_url_slug_exists
Checks if a blog post URL slug already exists for a location and helps confirm uniqueness before publishing.
Instructions
Check url slug 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. Endpoint: GET /blogs/posts/url-slug-exists (Version header: v3; source: v3/blogs-v3.json) Requires a Sub-Account (location) token. OAuth scopes: blogs/check-slug.readonly
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postId | No | Identifier of the existing post to exclude from the uniqueness check | |
| urlSlug | Yes | URL slug to check for uniqueness | |
| locationId | Yes | Sub-account (location) identifier the slug is being checked under |