Authors
Retrieve author information and profiles from your Vine workspace
The Authors API returns all authors in the workspace attached to the API key. Use it to render bylines, author cards, contributor directories, or editorial profile pages.
Endpoint
GET /api/public/v1/{API_KEY}/authorsQuery Parameters
None right now.
Example Request
curl "https://vinecms.tech/api/public/v1/{API_KEY}/authors"Example Response
{
"ok": true,
"authors": [
{
"id": "author_id",
"name": "Ava Stone",
"email": "ava@example.com",
"about": "Writes product and editorial content.",
"socialLinks": {
"x": "https://x.com/ava"
}
}
]
}Response Fields
Each author object contains:
id(string): internal author identifiername(string): display nameemail(string): author emailabout(string): author bio or descriptionsocialLinks(object): keyed social profile links
Use Cases
- author biography sections
- contributor directory pages
- author selectors in external apps
- byline enrichment on post pages
Example Usage
const response = await fetch(
'https://vinecms.tech/api/public/v1/{API_KEY}/authors'
);
const data = await response.json();
const primaryAuthor = data.authors[0];
console.log(primaryAuthor.name);
console.log(primaryAuthor.socialLinks);