Identify content
Identify content
Resolve an incoming path to a post, category, tag, author, redirect, or not found result
GET
Identify content
Use this endpoint when your frontend receives a path and needs to determine what it represents before choosing the correct page template or follow-up API call.
Production:
https://cds.thepublive.com/publisher/<PUBLISHER_ID>/identify_url/
Beta: https://cds-beta.thepublive.com/publisher/<PUBLISHER_ID>/identify_url/Your Publisher ID
Path or slug to resolve. Use the post legacy URL for posts, the category slug for categories,
/tags/<SLUG> for tags, and /author/<SLUG> for authors.Resolution rules
| Content type | Value to send in legacy_url | Result |
|---|---|---|
| Post | /guides/getting-started | Returns type: "post" and the full post object in data.content |
| Category | learn-banking | Returns type: "category" and the resolved URL |
| Tag | /tags/product-updates | Returns type: "tag" and the resolved URL |
| Author | /author/editor-desk | Returns type: "member" and the resolved URL |
| Redirect | Any legacy path that has a redirect rule | Returns type: "redirect" and the destination URL |
| Missing route | Any unknown path | Returns type: "not_found" |
Example request
SDK usage
If you use the Publive frontend SDK, callidentify() instead of constructing the request manually.
Response behavior
- When the resolved type is
post, the response includes the full post payload indata.content. - When the resolved type is
category,tag, ormember, the response only confirms the matched entity. Call the corresponding details endpoint to fetch the full object. - When the resolved type is
redirect, usedata.urlas the destination. - When the resolved type is
not_found, render your 404 page or redirect to your homepage.
Example responses
Last modified on April 15, 2026