Skip to main content
GET
List Colleagues

GET /v1/colleagues-list

This endpoint is used to retrieve a list of colleagues associated with a specific user. When it is called, it will return all colleagues that have been created for the specified user and are available for invitation.

Endpoint URL

The endpoint URL is https://api.wazper.com/v1/colleagues-list

HTTP Method

GET

Headers

Query Parameters

Example Request (cURL)

Success Response (200 OK)

The response contains an array of colleague objects, sorted with joined colleagues first, then by photo presence, and finally by creation date.

Error Responses

  • 400 Bad Request - Email Parameter Missing:
  • 400 Bad Request - API Key Not Linked:
  • 401 Unauthorized - API Key Required:
  • 401 Unauthorized - Invalid API Key:
  • 403 Forbidden - Waz Disabled:
  • 500 Internal Server Error:

Notes

  • This API does not consume credits from your account.
  • Results are limited to 50 colleagues maximum.
  • Colleagues with “deleted” status are excluded from the results.
  • The list is sorted to show joined colleagues first, then colleagues with photos, and finally by newest creation date.

Authorizations

X-API-Key
string
header
required

Query Parameters

email
string<email>
required

The email address of the user whose colleagues are to be listed.

Response

A list of colleagues.

id
string

Unique ID of the colleague entry (ToBeInvited table).

name
string

Name of the colleague.

email
string<email>

Email of the colleague.

jobTitle
string | null

Job title.

status
string

Current status (e.g., pending, invited, joined).

createdAt
string<date-time>

Creation timestamp.

companyName
string

Company name.

website
string<url> | null

Website URL.

Invite link.

Redirection link.

photo
string<url> | null

Photo URL.

team
integer | null

Team identifier.

wazClientId
string

Wazper Client ID.

toBeInvitedById
string<email>

Email of the user who created this entry.

latestAction
string<date-time>

Timestamp of the last action.

updatedAt
string<date-time>

Timestamp of last update.