Ziwako Docs
Ziwako ContactRéférence APIContacts

List contacts

GET
/contacts

Query Parameters

search?string
label?string
favorite?string
page?number
limit?number
sort?string

Response Body

application/json

curl -X GET "https://example.com/contacts"
{  "status": 0,  "message": "string",  "data": {    "docs": [      {        "id": "string",        "userId": "string",        "name": {          "givenName": "string",          "familyName": "string",          "middleName": "string",          "prefix": "string",          "suffix": "string",          "displayName": "string"        },        "phoneNumbers": [          {            "type": "mobile",            "number": "string",            "label": "string"          }        ],        "emails": [          {            "type": "home",            "email": "user@example.com",            "label": "string"          }        ],        "addresses": [          {            "type": "home",            "street": "string",            "city": "string",            "region": "string",            "postalCode": "string",            "country": "string",            "label": "string"          }        ],        "organizations": [          null        ],        "urls": [          null        ],        "notes": "string",        "birthday": "2019-08-24",        "relations": [          {            "type": "spouse",            "name": "string"          }        ],        "photoUrl": "http://example.com",        "isFavorite": true,        "labels": [          null        ],        "createdAt": "2019-08-24T14:15:22Z",        "updatedAt": "2019-08-24T14:15:22Z"      }    ],    "totalDocs": 0,    "limit": 0,    "totalPages": 0,    "page": 0,    "pagingCounter": 0,    "hasPrevPage": true,    "hasNextPage": true,    "prevPage": 0,    "nextPage": 0  },  "type": "string",  "code": "string"}