Skip to main content
GET
/
user
List users
curl --request GET \
  --url https://enterprise-api.writer.com/user \
  --header 'Authorization: <authorization>'
import requests

url = "https://enterprise-api.writer.com/user"

headers = {"Authorization": "<authorization>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: '<authorization>'}};

fetch('https://enterprise-api.writer.com/user', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
{
  "totalCount": 123,
  "pagination": {
    "offset": 123,
    "limit": 123
  },
  "result": [
    {
      "id": 123,
      "firstName": "<string>",
      "fullName": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "avatar": "<string>",
      "lastName": "<string>",
      "email": "<string>",
      "timezone": "<string>",
      "lastSeenOnline": "2023-11-07T05:31:56Z",
      "invitedBy": 123
    }
  ]
}
{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}
{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}
{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}
{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}
{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}
We’re deprecating these API endpoints, so the AI Studio API key setup won’t work. [Contact support] (https://support.writer.com/) if you need them.

Headers

Authorization
string
required

Query Parameters

sortField
enum<string>
Available options:
id,
name,
creationTime,
deleted,
modificationTime,
email,
lastSeen
sortOrder
enum<string>
Available options:
asc,
desc
offset
integer<int64>
limit
integer

Response

totalCount
integer<int64>
required
pagination
object
required
result
object[]