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

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

`POST /companies/{companyId}/contactinfo`

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

## Path parameters

- `companyId` string, uuid, required

## Headers

- `Authorization` string, required

## Request body

- ContactInfoForm — The contact info are different types of contact information for a company
  - `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, required — The type of the contact info. Possible values are: 'phone', 'email', 'address', 'url', 'custom'.
  - `subType` string, nullable — The subtype of the contact info. Required for all types except 'custom'. Possible values are: phone: [ 'central', 'other' ] email: [ 'central', 'invoice', 'other' ] address: [ 'central', 'invoice', 'other' ] url: [ 'primary', 'other' ]
  - `addressLine1` string, nullable — The first address line of the contact info.
  - `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 contact info is an address. If it's an address, the address fields are required.

## Response `200`

OK

- ContactInfoForCompanies — The contact info are different types of contact information for a company
  - `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, required — The type of the contact info. Possible values are: 'phone', 'email', 'address', 'url', 'custom'.
  - `subType` string, nullable — The subtype of the contact info. Required for all types except 'custom'. Possible values are: phone: [ 'central', 'other' ] email: [ 'central', 'invoice', 'other' ] address: [ 'central', 'invoice', 'other' ] url: [ 'primary', 'other' ]
  - `addressLine1` string, nullable — The first address line of the contact info.
  - `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 contact info is an address. If it's an address, the address fields are required.
  - `id` string, uuid — The Id of the contact info.
  - `createdOn` string, date-time — The date this entity was created.
  - `createdBy` string, uuid — The id of the user who created this entity.
  - `updatedOn` string, date-time — The date this entity was last modified.
  - `updatedBy` string, uuid — The id of the user who last modified this entity.

## Other responses

- `400` — Bad Request

---

[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/revisions/a13e7c704262/schema)
