> For the complete documentation index, see [llms.txt](https://docs.tnid.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tnid.com/api-reference/002_company/003_address/001__create_company_address.md).

# Create Company Address

GraphQL endpoint: `/company`

Create a new address for the company. The address can be tagged with types (e.g., HEADQUARTERS, SUPPORT) and visibility settings to control who can see this information.

## Query

```graphql
mutation (
  $street: String!
  $city: String!
  $zipCode: String!
  $state: String
  $country: String!
  $types: [CompanyAddressType!]
  $visibility: [CompanyVisibilityType!]
) {
  createCompanyAddress (
    street: $street
    city: $city
    zipCode: $zipCode
    state: $state
    country: $country
    types: $types
    visibility: $visibility
  ) {
    id
    city
    country
    state
    street
    zipCode
    types
    visibility
  }
}

```

## Variables

```json
{
  "city": "test city",
  "country": "United States",
  "state": "Alabama",
  "street": "test street 1",
  "types": [
    "SUPPORT"
  ],
  "visibility": [
    "PARTNER",
    "CUSTOMER"
  ],
  "zipCode": "12345"
}
```

## Response

```json
{
  "data": {
    "createCompanyAddress": {
      "city": "test city",
      "country": "United States",
      "id": "00000000-0000-4000-8000-000000000001",
      "state": "Alabama",
      "street": "test street 1",
      "types": [
        "SUPPORT"
      ],
      "visibility": [
        "PARTNER",
        "CUSTOMER"
      ],
      "zipCode": "12345"
    }
  }
}
```
