# getWorkflowIntakeAssignment

One EVENT workflow's intake assignment (who owns a contact its find/create step creates); assignmentPolicy null when it has none, workflowGroup null when the id is not one of the org's workflows.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "getWorkflowIntakeAssignment", "variables": {...} }`
- Scope: `READ`
- Type: query
- Idempotency: a read; rejects `Idempotency-Key`
- Rate-limited: no

## Variables

- `workflowGroupId`: `ID!` (required)

## Response (data, an example)

```json
{
  "workflowAutomationsQuery": {
    "workflowGroup": {
      "id": "<ID>",
      "name": "…",
      "workflowDomain": "PROPERTY",
      "assignmentPolicy": {
        "id": "<ID>",
        "assigneeUserIds": [
          "<ID>"
        ],
        "participantUserIds": [
          "<ID>"
        ],
        "teamIds": [
          "<ID>"
        ],
        "tags": [
          "…"
        ],
        "agentAssigneeIds": [
          "<ID>"
        ],
        "workflowGroupIds": [
          "<ID>"
        ]
      }
    }
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "operationId": "getWorkflowIntakeAssignment",
    "variables": {
      "workflowGroupId": "<workflowGroupId>"
    }
  }'
```
