# authorContactImportMapping

Bring an import from startContactImport to a ready mapping when it was not ready yet (transformerAuthoringState IN_PROGRESS, or hasAuthoredTransformer false). It returns at once when the mapping already exists. Same result fields as startContactImport. Nothing is imported.

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

## Variables

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

## Response (data, an example)

```json
{
  "fileProcessingTaskMutation": {
    "authorContactTransformer": {
      "id": "<ID>",
      "status": "CREATED",
      "transformerAuthoringState": "COMPLETED",
      "hasAuthoredTransformer": true
    }
  }
}
```

## 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": "authorContactImportMapping",
    "variables": {
      "fileProcessingTaskId": "<fileProcessingTaskId>"
    }
  }'
```
