# cancelEmployeeFollowUp

Cancel a follow-up an AI employee booked on a contact before it runs (`followUpId`: a FOLLOW_UP row's `id` from getContactEmployees' `upcomingAgentRuns`). A CRON row is a schedule: clearEmployeeSchedule. Returns CANCELLED, or NOT_FOUND when it already ran or is not this contact's.

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

## Variables

- `contactId`: `ID!` (required)
- `followUpId`: `ID!` (required)

## Response (data, an example)

```json
{
  "aiEmployeesMutation": {
    "cancelAiEmployeeFollowUp": "CANCELLED"
  }
}
```

## 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": "cancelEmployeeFollowUp",
    "variables": {
      "contactId": "<contactId>",
      "followUpId": "<followUpId>"
    }
  }'
```
