List Public Profiles
This endpoint allows you to search and browse the directory of public profiles (users, institutions, or bots) on Ziwako. It is designed to handle large datasets by returning results in a paginated format.
You can use query parameters to filter specific profiles, sort the results, or limit the number of items returned per page. This is ideal for building search features, user directories, or "Explore" feeds.
X-API-Key<token>
In: header
Query Parameters
filter?
limit?number
page?number
sort?string
populate?array<>
select?
skip?number
Response Body
application/json
curl -X GET "https://example.com/public/profils?sort=&populate="{ "type": "success", "code": "string", "status": 0, "message": "string", "data": { "docs": [ { "id": "string", "username": "string", "firstName": "string", "lastName": "string", "fullName": "string", "profilPicture": { "Key": "string", "Bucket": "string", "Location": "string", "public": "string" }, "coverPicture": { "Key": "string", "Bucket": "string", "Location": "string", "public": "string" }, "profilType": "user", "authId": "string", "contacts": { "tels": [ "string" ], "emails": [ "string" ], "message": "string", "position": { "name": "string", "location": { "type": "Point", "coordinates": [ 0, 0 ] } }, "socialMedia": { "facebook": "string", "twitter": "string", "linkedin": "string", "instagram": "string", "tiktok": "string" }, "externalAccounts": [ { "provider": "string", "accountId": "string", "payload": {} } ] }, "billingPlan": {}, "planBenefices": { "maxSimultaneousSearch": 0, "maxContactsPerSearch": 0 }, "credit": 0, "balance": 0, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "profilNumber": "string" } ], "totalDocs": 0, "limit": 0, "totalPages": 0, "page": 0, "pagingCounter": 0, "hasPrevPage": true, "hasNextPage": true, "prevPage": 0, "nextPage": 0 }}