Members
List Members
Retrieve a paginated list of members. Results are filtered by the organization associated with the API key.
Authorization
bearerAuth AuthorizationBearer <token>
Bearer token authentication for API access.
In: header
Query Parameters
page?integer
Page number for pagination
Default
1Range
1 <= valuelimit?integer
Number of items per page (max 100)
Default
50Range
1 <= value <= 100Response Body
application/json
application/json
application/json
curl -X GET "https://api.sophiie.ai/v1/members"{
"members": [
{
"id": "usr_123",
"role": "OWNER",
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"phone": "+1234567890",
"isDisabled": false,
"responsibility": "Manages daily operations and customer service",
"createdAt": "2023-01-01T00:00:00.000Z"
}
],
"totalPages": 5,
"currentPage": 1,
"totalCount": 250
}{
"success": false,
"message": "Invalid or expired token",
"error": {
"status": 401,
"message": "Invalid or expired token"
}
}{
"success": false,
"message": "Internal server error",
"error": {
"status": 500,
"message": "Internal server error"
}
}Update Lead PUT
Update a new lead entry. The lead will be associated with the organization of the API key.
Get Organization Availability GET
Retrieve the availability schedules for the organization. Returns schedule information including available time slots, timezone, and day configurations for business hours.