sites

Collaborator List

Get a list of collaborators for the specified site.

get/sites/{site_id}/collaborators

Request

Path parameters

site_idinteger required

Response

Successful Response

messagestring
dataobject[]

Example response

{
  "message": "Success",
  "data": [
    {
      "id": 1,
      "created": "2022-01-31T20:05:39.000Z",
      "updated": "2022-01-31T20:05:39.000Z",
      "accountId": 3,
      "email": "janedoe@example.com",
      "siteId": 1,
      "state": "active",
      "wpUsername": "jane",
      "name": "Jane Doe",
      "siteName": "my-presssable-net"
    },
    {
      "id": 2,
      "created": "2022-01-31T20:05:39.000Z",
      "updated": "2022-01-31T20:05:39.000Z",
      "accountId": 4,
      "email": "tomdoe@example.com",
      "siteId": 1,
      "state": "active",
      "wpUsername": "tom",
      "name": "Tom Doe",
      "siteName": "my-presssable-net"
    },
    {
      "id": 1203,
      "created": "2022-01-31T20:05:39.000Z",
      "updated": "2022-01-31T20:05:39.000Z",
      "accountId": 5,
      "email": "clairedoe@example.com",
      "siteId": 1,
      "state": "active",
      "wpUsername": "johndoe",
      "name": "Claire Doe",
      "siteName": "my-presssable-net"
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.