List authors

List a site’s authors. Authors are managed over the API with create, update, and delete. Use the returned id as a page’s authorId when you create a page.

GET https://sitepaste.com/api/v1/public/sites/{siteId}/authors

Requires the content scope.

Usage

curl https://sitepaste.com/api/v1/public/sites/default/authors \
  -H "Authorization: Bearer $TOKEN"

Authorizations

HeaderTypeRequiredDescription
AuthorizationstringYesBearer token (Authorization: Bearer sp_...). Created in the dashboard under Account > Tokens. See authentication.

Query parameters

ParameterTypeRequiredDescription
limitintegerNoHow many to return, 1 to 1000. Defaults to 1000.
offsetintegerNoHow many to skip. Defaults to 0.

Response

{
  "authors": [
    {
      "id": "a7xkq3mz9r2t",
      "name": "Ada Lovelace",
      "bio": "Writes about compilers.",
      "imageUrl": "/media/.../avatar.webp",
      "website": "https://example.com",
      "createdAt": "2026-01-15T10:00:00Z",
      "updatedAt": "2026-02-08T12:00:00Z"
    }
  ],
  "total": 12,
  "limit": 1000,
  "offset": 0
}
FieldTypeDescription
idstringAuthor ID. Pass it as authorId on a page.
namestringDisplay name. Not unique.
biostringShort biography. Omitted when unset.
imageUrlstringAvatar image URL. Omitted when unset.
emailstringContact email. Omitted when unset.
websitestringPersonal website URL. Omitted when unset.
twitterstringTwitter/X profile URL. Omitted when unset.
linkedinstringLinkedIn profile URL. Omitted when unset.
createdAtstringRFC 3339.
updatedAtstringRFC 3339. Advances only when a write actually changes the author, so a PATCH that stores its existing values leaves it alone.

The list is ordered by name. total counts the whole collection, not just the window.