Assign Label
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/contacts/string/labels" \ -H "Content-Type: application/json" \ -d '{ "labelIds": [ "string" ] }'{ "status": 0, "message": "string", "data": { "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" }, "type": "string", "code": "string"}