Retrieve a Public Profile
This endpoint retrieves the public-facing information of a Ziwako profile. Unlike the standard profile retrieval, this endpoint exposes a limited set of data suitable for public display.
It returns identity information (names, pictures) and contact details, but strictly excludes sensitive private data such as billing plans, credit balances, and authentication identifiers. Use this endpoint when you need to display a user's profile card to other users or external visitors.
X-API-Key<token>
In: header
Path Parameters
id*string
Response Body
application/json
curl -X GET "https://example.com/public/profils/string"{ "type": "success", "code": "string", "status": 0, "message": "string", "data": { "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" }}