Skip to main content
GET
/
v1
/
authors
List authors
curl --request GET \
  --url https://api.marblecms.com/v1/authors \
  --header 'Authorization: Bearer <token>'
{
  "authors": [
    {
      "id": "clx123abc",
      "name": "John Doe",
      "image": "https://cdn.example.com/avatar.jpg",
      "slug": "john-doe",
      "bio": "Technical writer and developer",
      "role": "Editor",
      "socials": [
        {
          "url": "https://twitter.com/johndoe",
          "platform": "twitter"
        }
      ],
      "count": {
        "posts": 12
      }
    }
  ],
  "pagination": {
    "limit": 10,
    "currentPage": 1,
    "nextPage": 2,
    "previousPage": null,
    "totalPages": 5,
    "totalItems": 42
  }
}

Authorizations

Authorization
string
header
required

Your Marble API key

Query Parameters

limit
integer
default:10

Number of items per page (1-100)

Required range: 1 <= x <= 100
Example:

"10"

page
integer
default:1

Page number

Required range: x > 0
Example:

"1"

Response

Paginated list of authors

authors
object[]
required
pagination
object
required