# CompanyRoleInput (/api/reference/inputs/company-role-input)

One open role at a company, as a job board or provider lists it.

```graphql
input CompanyRoleInput {
  department: String
  externalKey: String!
  location: String
  title: String!
  url: String
}
```

### Fields [#fields]

#### [`CompanyRoleInput.department`](#department) · [`String`](/api/reference/scalars/string) `scalar` [#department]
The department the role is in, such as "Sales".

#### [`CompanyRoleInput.externalKey`](#external-key) · [`String!`](/api/reference/scalars/string) `non-null` `scalar` [#external-key]
The provider's own id for the role. It must stay the same each time the role is reported: it is how a repeat is recognised. It must not be blank.

#### [`CompanyRoleInput.location`](#location) · [`String`](/api/reference/scalars/string) `scalar` [#location]
Where the role is based, as the posting says it.

#### [`CompanyRoleInput.title`](#title) · [`String!`](/api/reference/scalars/string) `non-null` `scalar` [#title]
The role's title. It must not be blank.

#### [`CompanyRoleInput.url`](#url) · [`String`](/api/reference/scalars/string) `scalar` [#url]
A link to the posting.

### Member Of [#member-of]

[`RecordCompanyRolesInput`](/api/reference/inputs/record-company-roles-input)  `input`