Get Category by Slug.
cURL
curl --request GET \ --url https://api.octaviatech.app/cms/categories/getBySlug/{slug} \ --header 'x-api-key: <api-key>'
{ "success": true, "statusCode": 200, "message": "OK", "data": { "id": "{{objectId}}", "name": { "en": "Surgery", "es": "Cirugía" }, "slug": "surgery" } }
"surgery"
OK
The response is of type any.
any
Was this page helpful?