curl --request GET \
--url https://services.leadconnectorhq.com/blogs/categories \
--header 'Authorization: Bearer <token>'{
"categories": [
{
"locationId": "<string>",
"label": "<string>",
"urlSlug": "<string>",
"imageUrl": "<string>",
"description": "<string>",
"imageAltText": "<string>",
"originId": "<string>",
"canonicalLink": "<string>"
}
]
}The “Get all categories” Api return the blog categoies for a given location ID
curl --request GET \
--url https://services.leadconnectorhq.com/blogs/categories \
--header 'Authorization: Bearer <token>'{
"categories": [
{
"locationId": "<string>",
"label": "<string>",
"urlSlug": "<string>",
"imageUrl": "<string>",
"description": "<string>",
"imageAltText": "<string>",
"originId": "<string>",
"canonicalLink": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful response
Array of categories
Show child attributes
Was this page helpful?