Slugs
Create slug
CreateSlug
Creates new slug.
POST
cURL
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Slugs can be created to generate a better looking URL for your pages, leading to better SEO and user experience.
For example, for an entity page that requires two variables,
instead of using https://example.com/en-US/entity/competition/HiKTtRZYdyGU/2024 you can define a slug for https://example.com/en-US/la-liga-2024.
The slug would be /la-liga-2024
and the path would be /entity/competition/HiKTtRZYdyGU/2024
(excluding the language segment, including the leading slash).
Response
200
application/json
OK
The response is of type object
.
cURL