Ziwako Docs
ZiwakoRéférence APIProfils

Retrieve a Profile

GET
/profils/{id}

This endpoint allows you to retrieve the full configuration and details of a Ziwako profile. It is essential for displaying user information, checking credit balances, or verifying active billing plans.

The response includes the profile's identity (username, fullName), their role (profilType), contact details, and their current resource quotas (credits and balances).

Authorization

X-API-Key<token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

curl -X GET "https://example.com/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"  }}