Ziwako Docs
Ziwako MessageRéférence APIProfils

Create Profil

POST
/profils

Authorization

apikey-header-authorization
authorization<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/profils" \  -H "Content-Type: application/json" \  -d '{    "username": "string",    "profilType": "user",    "apiKey": "string"  }'
{  "type": "string",  "code": "string",  "status": 0,  "message": "string",  "data": {    "profil": {      "id": "string",      "username": "string",      "displayName": "string",      "picture": "string",      "profilType": "user",      "contacts": {        "tels": [          "string"        ],        "emails": [          "user@example.com"        ],        "position": {          "name": "string",          "location": {            "type": "Point",            "coordinates": [              0,              0            ]          }        },        "socialMedia": {          "facebook": "string",          "twitter": "string",          "linkedin": "string",          "instagram": "string",          "youtube": "string",          "tiktok": "string",          "discord": "string",          "telegram": "string"        },        "website": "http://example.com",        "address": {          "street": "string",          "city": "string",          "state": "string",          "country": "string",          "postalCode": "string"        },        "timezone": "string",        "language": "string"      },      "externalId": "string",      "externalProvider": "string",      "authId": "string",      "apiKey": "string",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z"    },    "apiKey": {      "apiKey": "string",      "apiSecret": "string"    }  }}