# dismissContactSuggestion

Dismiss a suggestion card with the reason the person gave (NOT_RELEVANT, WRONG_TONE, WRONG_FACTS, ALREADY_DONE, OTHER, …). Recorded through the API, not as feedback heard from a person.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "dismissContactSuggestion", "variables": {...} }`
- Scope: `WRITE`
- Type: mutation
- Idempotency: honors `Idempotency-Key` (24 h)
- Rate-limited: no

## Variables

- `suggestionId`: `ID!` (required)
- `reason`: `ContactSuggestionDismissReason!` (required, one of `NOT_RELEVANT`, `WRONG_TONE`, `WRONG_FACTS`, `ALREADY_DONE`, `OTHER`, `NO_LONGER_DISTRESSED`, `WRONG_PROPERTY`, `NOT_MY_LEAD`, `WRONG_PERSON`, `ESTATE_ALREADY_HANDLED`, `STILL_OWNS`, `KEPT_MINE`, `SHOULDNT_MESSAGE`)

## Response (data, an example)

```json
{
  "contactSuggestionMutation": {
    "dismissContactSuggestion": {
      "id": "<ID>",
      "status": "PENDING"
    }
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "operationId": "dismissContactSuggestion",
    "variables": {
      "suggestionId": "<suggestionId>",
      "reason": "NOT_RELEVANT"
    }
  }'
```
