# addOpportunityContact (/api/reference/mutations/add-opportunity-contact)

Add a person to an opportunity in a role. One person can hold several roles: add them once for each. A person who already holds that role is returned as they are, with `wasCreated` false. A part is not edited: remove it and add another.

```graphql
addOpportunityContact(
  input: AddOpportunityContactInput!
): AddOpportunityContactPayload!
```

### Arguments [#arguments]

#### [`addOpportunityContact.input`](#input) · [`AddOpportunityContactInput!`](/api/reference/inputs/add-opportunity-contact-input) `non-null` `input` [#input]
The opportunity, the person and their role in it.

### Type [#type]

#### [`AddOpportunityContactPayload`](/api/reference/objects/add-opportunity-contact-payload) `object` [#addopportunitycontactpayload-object]
The part that was added or found.