List authors
Get your blog's authors with GET /authors. Use the slug in a post's author.
Gets your blog's author list. Use the slug from this list in a post's author.
Request
| Item | Value |
|---|---|
| Method · path | GET /authors |
| Permission | Read only (read) or higher |
Request fields
None.
Example
curl https://api-open.weekerp.com/blog/v1/authors \
-H "Authorization: Bearer wk_live_xxxxxxxx"
Response
[
{ "slug": "minjun", "name": "Minjun Kim", "profileImage": "https://..." }
]
You create and edit authors in the blog dashboard. See Manage authors.
Common errors
| HTTP | code | Fix |
|---|---|---|
| 404 | author_not_found |
Returned when the author slug in a post doesn't exist. Use a slug from this list |
| 401 | api_key_invalid |
The key is missing, wrong, or revoked. Check your key |
For the full list of errors, see Error format in Publish posts with the blog API.