---
title: "Creates a new contact info for the user with the specified id."
method: POST
path: "/users/{userId}/contactinfo"
tags: ["users"]
---

# Creates a new contact info for the user with the specified id.

`POST /users/{userId}/contactinfo`

<Check title="Required Permissions" icon="key">The user must be an admin or the creator or have `user-master-data:write` permissions.</Check>

## Path parameters

- `userId` string, uuid, required

## Headers

- `Authorization` string, required

## Request body

- ContactInfoFormForUsers — The contact info are different types of contact information for a user.
  - `label` string, nullable — The label of the contact info. Only necessary if type 'custom' is used.
  - `value` string, nullable — The value of the contact info.
  - `type` string, nullable — The type of the contact info. Possible values are: phone, email, address, messenger, social, urls.
  - `subType` string, nullable — The subtype of the contact info, Possible values are: Phone: [ 'work', 'mobile', 'home', 'work Fax', 'fax', 'other' ] Email: [ 'work', 'private', 'other' ] address: [ 'work', 'home', 'other' ] Messenger: [ 'skype', 'whatsapp', 'other' ] social: [ 'facebook', 'twitter', 'xing', 'linkedIn', 'instagram', 'pinterest', 'other' ] urls: [ 'work', 'private', 'gitHub', 'other' ].
  - `addressLine1` string, nullable — The first Address line of the address.
  - `addressLine2` string, nullable — The second address line of the contact info.
  - `zipCode` string, nullable — The Zipcode of the contact info.
  - `city` string, nullable — The city of the contact info.
  - `state` string, nullable — The state of the contact info.
  - `country` string, nullable — The 2 letter iso code of the country.
  - `isAddress` boolean — Flags whether this contactinfo is an address or not. If its an address, the address fields are required.

## Response `200`

OK

- ContactInfo — The contact info are different types of contact information for a user.
  - `label` string, nullable — The label of the contact info. Only necessary if type 'custom' is used.
  - `value` string, nullable — The value of the contact info.
  - `type` string, nullable — The type of the contact info. Possible values are: phone, email, address, messenger, social, urls.
  - `subType` string, nullable — The subtype of the contact info, Possible values are: Phone: [ 'work', 'mobile', 'home', 'work Fax', 'fax', 'other' ] Email: [ 'work', 'private', 'other' ] address: [ 'work', 'home', 'other' ] Messenger: [ 'skype', 'whatsapp', 'other' ] social: [ 'facebook', 'twitter', 'xing', 'linkedIn', 'instagram', 'pinterest', 'other' ] urls: [ 'work', 'private', 'gitHub', 'other' ].
  - `addressLine1` string, nullable — The first Address line of the address.
  - `addressLine2` string, nullable — The second address line of the contact info.
  - `zipCode` string, nullable — The Zipcode of the contact info.
  - `city` string, nullable — The city of the contact info.
  - `state` string, nullable — The state of the contact info.
  - `country` string, nullable — The 2 letter iso code of the country.
  - `isAddress` boolean — Flags whether this contactinfo is an address or not. If its an address, the address fields are required.
  - `id` string, uuid — The Id of the contact info.
  - `createdOn` string, date-time — The creation date.
  - `createdBy` string, uuid, nullable — The id of the user who created the entity.
  - `updatedOn` string, date-time — The date when the entity was updated.
  - `updatedBy` string, uuid, nullable — the id of the user who updated the entity.

## Other responses

- `404` — Not Found

---

[API](https://skmtc.net/awork-io/apis/api-v1-reference.md) · [All operations](https://skmtc.net/awork-io/apis/api-v1-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/awork-io/api-v1-reference/versions/f784a53f60df/schema)
