Get Author by Slug.
cURL
curl --request GET \ --url https://api.octaviatech.app/cms/authors/getBySlug/{slug} \ --header 'x-api-key: <api-key>'
{ "success": true, "statusCode": 200, "message": "OK", "data": { "id": "{{objectId}}", "name": { "en": "John Carter", "es": "Juan Carter" }, "slug": "john-carter", "role": "Editor" } }
"john-carter"
OK
The response is of type any.
any
Was this page helpful?