GET
/
v1
/
contactBooks
cURL
curl --request GET \
  --url https://app.weesend.com/api/v1/contactBooks \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "clx1234567890",
    "name": "Newsletter Subscribers",
    "teamId": 1,
    "properties": {
      "customField1": "value1"
    },
    "emoji": "๐Ÿ“™",
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "_count": {
      "contacts": 123
    }
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Retrieve contact books accessible by the API key

id
string
required

The ID of the contact book

Example:

"clx1234567890"

name
string
required

The name of the contact book

Example:

"Newsletter Subscribers"

teamId
number
required

The ID of the team

Example:

1

properties
object
required

Custom properties for the contact book

Example:
{ "customField1": "value1" }
emoji
string
required

The emoji associated with the contact book

Example:

"๐Ÿ“™"

createdAt
string
required

The creation timestamp

updatedAt
string
required

The last update timestamp

_count
object