Author detail
Get an author by their slug
url
https://zenblog.com/api/public/blogs/:blogId/authors/:slug
method
GET
Response
200
The author
typescript
{
data: {
name: "string",
slug: "string",
image_url?: "string",
twitter?: "string",
website?: "string",
bio?: "string",
}
}
Usage
// Get an author by their slug
const { data: author } = await zenblog.authors.get({
slug: "author-slug",
})