# VOYGR

> Verify and enrich business listings, monitor batches, and work with PlaceCall results.

App · 13 actions. Web page: https://docs.lodol.com/docs/integrations/voygr

## Actions

### Answer a mid-call question

Answer a question the agent asked mid-call. If no answer arrives before the wait window elapses, the call proceeds and wraps up.

**Inputs**

- Call (`call_id`, text, required): Call id.
- Answer (`answer`, text): Free text the bot will say to the operator. Mutually exclusive with `outcome`.
- Mode (`mode`, text): 'voice' (default): the bot speaks `answer` aloud to the operator. It is the only accepted value for an answer: an answer sent with 'context' is refused with 422 `unsupported_mode` and the question stays open. An `outcome` ignores the mode. One of: `voice`. Default: `voice`.
- Outcome (`outcome`, text): Closed client-side outcome when the observed ask_user request cannot receive an answer. Requires `request_id`. Mutually exclusive with `answer`. One of: `timeout`, `transport_failure` (Transport failure).
- Request ID (`request_id`, text): Disambiguates which pending ask_user this answers, when several are in flight on the same call. Required when `outcome` is set; optional with `answer` (when omitted, the answer goes to the oldest pending question).

**Outputs**

- `data` (object): The response from VOYGR.

**Example output**

```json
{
  "data": {
    "delivered": true,
    "reason": "delivered"
  }
}
```

### Cancel a queued or active call

Cancel a call that has not finished: queued, dialing or in progress. The call ends with outcome failed_cancelled. Returns `{"cancelled": true}` when it was cancelled, and `{"cancelled": false}` for a call that already finished (or reached its own outcome first), an unknown call_id or another key's call. It never returns 404, so it is safe to retry. Cancelling is free before anyone answers and within the first 30 seconds after the callee answers; cancelling 30 seconds or more after the callee answered is charged 10 credits.

**Inputs**

- Call (`call_id`, text, required): Call id.

**Outputs**

- `data` (object): The response from VOYGR.

**Example output**

```json
{
  "data": {
    "cancelled": false
  }
}
```

### Enrich a place

Look up selected attributes for one business. Each requested attribute can consume credits.

**Inputs**

- Poi name (`poi_name`, text, required): Business name.
- Address (`address`, text): Full address of the business.
- City (`city`, text): City or locality.
- Country (`country`, text): Country code or name.
- Response format (`response_format`, text): How to format the result. One of: `attributes`, `cell`.
- Attributes (`attributes`, list, required): Choose which details to look up. One or more of: `opening_hours` (Opening hours), `phone`, `website`, `facebook`, `instagram`, `tiktok`, `x`, `email`, `existence`, `open_closed` (Open closed).

**Outputs**

- `data` (object): Response model for place attribute enrichment.

**Example output**

```json
{
  "data": {
    "address_parts": {
      "city": "Example",
      "country": "Example",
      "district": "Example",
      "floor": "Example",
      "house_number": "Example",
      "postcode": "Example",
      "state": "Example",
      "street": "Example",
      "unit": "Example"
    },
    "attributes": {},
    "enrichment_timestamp": "Example",
    "error": "Example",
    "error_code": "Example",
    "id": "sample_id",
    "operational_status": {
      "closure_confidence": 1,
      "closure_reason": "permanent",
      "status": "open"
    },
    "place_summary": "Example",
    "request_id": "sample_request_id",
    "status": {
      "existence_confidence": 1
    },
    "success": true
  }
}
```

### Get a call

Poll a single call. Returns the full detail fields (including transcript_full and transcript_status) that the list endpoint omits. The transcript is complete once transcript_status reads final, usually one to two minutes after the call ends. A declined call never gets there: when recording_declined is true it stays null for good. A call that is still running also lists the questions it is waiting on in pending_questions: answer each with POST /calls/{call_id}/answer.

**Inputs**

- Call (`call_id`, text, required): Call id.

**Outputs**

- `data` (object): A call. GET /calls list entries omit transcript_full; fetch GET /calls/{call_id} for the transcript.

**Example output**

```json
{
  "data": {
    "analysis_key_info": "Example",
    "analysis_task_items": [
      {}
    ],
    "answer_offset_ms": 1,
    "answered_at": "2026-11-30T12:00:00Z",
    "call_id": "sample_call_id",
    "client_needed": "Example",
    "created_at": "2026-11-30T12:00:00Z",
    "customer_id": "sample_customer_id",
    "disclosure_mode": "standard",
    "disclosure_text": "Example",
    "duration_sec": 1,
    "ended_at": "2026-11-30T12:00:00Z",
    "ended_by": "completed",
    "handoff": "Example",
    "has_recording": false,
    "items": [
      {
        "answer": "Example",
        "ask": "Example",
        "evidence": {
          "quote": "Example",
          "turn": 1
        },
        "id": "sample_id",
        "status": "done"
      }
    ],
    "language": "Example",
    "line_kind": "human",
    "notice": {
      "code": "Example",
      "docs": "Example",
      "message": "Example"
    },
    "outcome_charge_cents": 1,
    "outcome_summary": "Example",
    "pending_questions": [
      {
        "expires_at": "2026-11-30T12:00:00Z",
        "question": "Example",
        "request_id": "sample_request_id"
      }
    ],
    "pending_questions_unavailable": false,
    "record_call": false,
    "recording_declined": false,
    "recording_started_at": "2026-11-30T12:00:00Z",
    "recording_status": "available",
    "recording_url": "Example",
    "reservation_signals": [
      "Example"
    ],
    "result": "goal_met",
    "result_reason": "booked",
    "started_at": "2026-11-30T12:00:00Z",
    "status": "scheduled",
    "target_phone": "Example",
    "transcript_full": [
      {
        "audio": {
          "kind": "name",
          "text": "Example"
        },
        "confidence": 1,
        "end_sec": 1,
        "heard": false,
        "interrupted": false,
        "role": "operator",
        "salvaged": false,
        "start_sec": 1,
        "text": "Example",
        "ts": 1
      }
    ],
    "transcript_status": "live",
    "voice": {
      "gender": "female",
      "gender_used": "female"
    }
  }
}
```

### Get batch job status and results

Status, progress and ETA for a submitted job. When `status` is `completed`, the response carries `results.files[]` with a presigned download URL (expires in about 15 minutes; poll again for a fresh one). The file is gzipped JSONL: one result line per input row, in input order.

**Inputs**

- Batch ID (`batch_id`, text, required): Batch id.

**Outputs**

- `data` (object): Status and results for a submitted job.

**Example output**

```json
{
  "data": {
    "batch_id": "sample_batch_id",
    "completed_at": "Example",
    "created_at": "Example",
    "error": "Example",
    "error_code": "Example",
    "eta_completion_at": "Example",
    "eta_seconds": 1,
    "progress": {
      "failed": 1,
      "processed": 1,
      "succeeded": 1
    },
    "results": {
      "files": [
        {
          "expires_at": "Example",
          "sha256": "Example",
          "size_bytes": 1,
          "url": "Example"
        }
      ],
      "format": "Example",
      "total_items": 1
    },
    "started_at": "Example",
    "status": "queued",
    "total_items": 1,
    "type": "Example"
  }
}
```

### Get the public credit rate card

What a call, a place lookup, a single-record validation and an enrichment field cost, in credits (`enrichment` has the whole per-field table), and what a new account gets free (`free`), read from the gateway's own pricing. No key needed: quote a job before you spend. `operator_owned` is false for every rate today (the field is kept). Packs are at `/checkout/packs`; rates that depend on your key are on `GET /v1/usage`.

**Inputs**: None.

**Outputs**

- `data` (object): The public credit rate card. Anonymous; read it before you hold a key.

**Example output**

```json
{
  "data": {
    "docs_url": "Example",
    "enrichment": {
      "default_field_credits": 1,
      "field_credits": {},
      "max_unit_credits": 1,
      "min_unit_credits": 1,
      "people_columns": [
        "Example"
      ],
      "people_unit_credits": {},
      "toggles": {}
    },
    "free": {
      "api_key": {
        "credits": 1
      },
      "app_trial": {
        "credits": 1,
        "max_places": 1,
        "url": "Example"
      },
      "calls": {
        "count": 1,
        "credits": 1,
        "sentence": "Example"
      }
    },
    "packs_url": "Example",
    "per_key_rates_url": "Example",
    "rates": [
      {
        "credits": 1,
        "credits_range": [
          1
        ],
        "hold": 1,
        "key": "Example",
        "label": "Example",
        "note": "Example",
        "operator_owned": false,
        "per": "Example",
        "routes": [
          "Example"
        ]
      }
    ],
    "unit": "Example"
  }
}
```

### Get your identity and quota

Returns the identity and quota for this API key, with key metadata. It is lighter than GET /v1/usage.

**Inputs**: None.

**Outputs**

- `data` (object): The calling API key's own identity, quota and limits.

**Example output**

```json
{
  "data": {
    "anchored": false,
    "api_key_id": "sample_api_key_id",
    "api_key_last_4": "Example",
    "ask_user_webhook_configured": false,
    "ask_user_webhook_url": "Example",
    "credits_available": 1,
    "credits_charge_per_successful_call": 1,
    "credits_held": 1,
    "credits_hold_per_call": 1,
    "current_usage": 1,
    "customer_id": "sample_customer_id",
    "customer_name": "Example",
    "maintenance": {},
    "max_calls_per_day": 1,
    "max_concurrent_calls": 1,
    "max_concurrent_calls_ceiling": 1,
    "quota_limit": 1,
    "quota_period": "Example",
    "status": "Example",
    "webhook_events": [
      "ask_user"
    ]
  }
}
```

### List calls

List your own calls, most recent first. Each entry omits transcript_full; fetch a single call for the transcript.

**Inputs**

- Limit (`limit`, number): Limit. From 1 to 1000. Default: `100`.

**Outputs**

- `data` (list): The response from VOYGR.

**Example output**

```json
{
  "data": [
    {
      "analysis_key_info": "Example",
      "analysis_task_items": [
        {}
      ],
      "answer_offset_ms": 1,
      "answered_at": "2026-11-30T12:00:00Z",
      "call_id": "sample_call_id",
      "client_needed": "Example",
      "created_at": "2026-11-30T12:00:00Z",
      "customer_id": "sample_customer_id",
      "disclosure_mode": "standard",
      "disclosure_text": "Example",
      "duration_sec": 1,
      "ended_at": "2026-11-30T12:00:00Z",
      "ended_by": "completed",
      "handoff": "Example",
      "has_recording": false,
      "items": [
        {
          "answer": "Example",
          "ask": "Example",
          "evidence": {},
          "id": "sample_id",
          "status": "done"
        }
      ],
      "language": "Example",
      "line_kind": "human",
      "outcome_charge_cents": 1,
      "outcome_summary": "Example",
      "record_call": false,
      "recording_declined": false,
      "recording_started_at": "2026-11-30T12:00:00Z",
      "recording_status": "available",
      "recording_url": "Example",
      "reservation_signals": [
        "Example"
      ],
      "result": "goal_met",
      "result_reason": "booked",
      "started_at": "2026-11-30T12:00:00Z",
      "status": "scheduled",
      "target_phone": "Example",
      "transcript_full": [
        {
          "audio": {},
          "confidence": 1,
          "end_sec": 1,
          "heard": false,
          "interrupted": false,
          "role": "operator",
          "salvaged": false,
          "start_sec": 1,
          "text": "Example",
          "ts": 1
        }
      ],
      "transcript_status": "live",
      "voice": {
        "gender": "female",
        "gender_used": "female"
      }
    }
  ]
}
```

### Place a call

Place an outbound AI phone call: send target_phone and a plain-language brief. The structured shape (intent + slots) and the kind and skill fields were removed and are refused with 422 field_removed. The optional `disclosure` and `record_call` fields change or turn off the call's opening notice and its recording, and `voice` picks how the agent sounds. A refusal below places no call and costs nothing. Two answers below are not refusals, because they cannot say whether a call was placed: 409 idempotency_state_unknown and 502. Their entries say how to recover.

**Inputs**

- Target phone (`target_phone`, text): Phone number in E.164 format.
- Suggestion id (`suggestion_id`, text): ID from a Suggest places step.
- Brief (`brief`, text, required): What you want the caller to ask.
- Language (`language`, text): Choose a call language. One of: `auto`, `de`, `en`, `es`, `fr`, `hi`, `it`, `ja`, `nl`, `pl`, and 4 more.

**Outputs**

- `data` (object): Call accepted with 202 and queued for dialing, the normal response on api.voygr.tech; the call ID is the top-level call_id, repeated as call.call_id. Poll GET /calls/{call_id} until status leaves queued.

**Example output**

```json
{
  "data": {
    "call": {
      "call_id": "sample_call_id",
      "status": "queued"
    },
    "call_id": "sample_call_id",
    "credits_charge_on_success": 1,
    "credits_reserved": 1,
    "items": [
      {
        "ask": "Example",
        "id": "sample_id"
      }
    ],
    "position": 1,
    "status": "queued",
    "warnings": [
      {
        "asks": [
          "Example"
        ],
        "code": "Example",
        "items": [
          "Example"
        ],
        "message": "Example",
        "need": "Example"
      }
    ]
  }
}
```

### Suggest places to call

Turn a plain-English request ("a quiet Italian place in Wicker Park for Saturday 8pm, two people") into up to six US places to call. Each card has a dialable phone_e164, a reason it was picked, what the call should confirm, and a ready call_brief for POST /calls. Send the card's suggestion_id with that call to link the two. Billing: an answered request currently costs 5 credits, a degraded answer included; 5 are held while it runs, and a refused or failed request is free. Limits: 10 requests a minute and 1000 a UTC day per account, separate from call limits. why, fit_note, product_match and

**Inputs**

- Booking name (`booking_name`, text): Name a booking is held under, written into every call_brief. Omitted: the agent asks for it on the call.
- Callback phone (`callback_phone`, text): Callback number in E.164, written into every call_brief. Checked like target_phone on POST /calls: 422 invalid_target_phone, or that endpoint's dialing refusal body (for example region_not_supported).
- Limit (`limit`, number): Most cards to return. Default 4, or 6 for a niche request. You may get fewer: short_list_reason says why. From 1.0 to 6.0.
- Location hint (`location_hint`, text): Neighborhood, city or ZIP; a location named in query wins over it. No coordinates. A query that names no city or area and has no hint is refused with 422 LOCATION_REQUIRED.
- Query (`query`, text, required): The request in plain English: what is wanted, where and when. US places only. A text that names no place to find is refused with 422 QUERY_UNPARSEABLE.

**Outputs**

- `data` (object): 200 body of POST /v1/places/suggest. Zero cards is never a 200 (it is 422 NO_PLACES_FOUND or REGION_NOT_SUPPORTED). Fields may be added.

**Example output**

```json
{
  "data": {
    "degradation_reason": "Example",
    "degraded": false,
    "intent": {
      "call_intent": "Example",
      "category": "Example",
      "geo": {},
      "moment_level": [
        "Example"
      ],
      "party_size": 1,
      "place_level": [
        "Example"
      ],
      "product_level": [
        "Example"
      ],
      "specificity": "Example",
      "target_datetime": "Example",
      "unsatisfiable": [
        "Example"
      ]
    },
    "request_id": "sample_request_id",
    "short_list_reason": "Example",
    "suggestions": [
      {
        "address": "Example",
        "call_brief": "Example",
        "call_needed": false,
        "call_ready": false,
        "confidence": "sample_confidence",
        "fit_note": "Example",
        "name": "Example",
        "online_route": "Example",
        "open_at_target": false,
        "phone_e164": "Example",
        "price_band": "Example",
        "product_match": {},
        "rank": 1,
        "suggestion_id": "sample_suggestion_id",
        "verify_items": [
          {}
        ],
        "verify_on_call": [
          "Example"
        ],
        "website": "Example",
        "why": "Example"
      }
    ]
  }
}
```

### Validate a place

Validate a place's existence and operating status using evidence about the place.

**Inputs**

- ID (`id`, text): Client-provided identifier
- Poi name (`poi_name`, text, required): POI name
- Street (`street`, text): Street address
- City (`city`, text): City
- Region (`region`, text): State/province. Sent with only a country (no address, street, city or postcode), the check is whether the place exists anywhere in that state or region: it is located there or, for a company, registered or incorporated there.
- Postcode (`postcode`, text): Postal/ZIP code
- Country (`country`, text): 2-letter ISO country code
- Address (`address`, text): Unstructured address string. May also be sent as `freeform_address` (input-only alias).
- Latitude (`latitude`, number): Latitude in decimal degrees (WGS84). Optional but recommended. From -90.0 to 90.0.
- Longitude (`longitude`, number): Longitude in decimal degrees (WGS84). Optional but recommended. From -180.0 to 180.0.

**Outputs**

- `data` (object): Validation results describing existence and operating status separately.

**Example output**

```json
{
  "data": {
    "error": "Example",
    "error_code": "Example",
    "existence_confidence": 1,
    "id": "sample_id",
    "operational_status": {
      "closure_confidence": 1,
      "closure_reason": "permanent",
      "status": "open"
    },
    "request_id": "sample_request_id",
    "success": true,
    "validation_timestamp": "sample_validation_timestamp",
    "warnings": [
      {
        "code": "Example",
        "message": "Example"
      }
    ]
  }
}
```

### Validate places in bulk

Submit 1 to 10,000 places for asynchronous validation. Each downloaded JSON Lines row follows the POST /v1/validate response contract. Save batch_id and poll GET /v1/jobs/{batch_id} after acceptance. For an uncertain submission, retry promptly with the same Idempotency-Key and identical body. Replay only applies while the idempotency record is retained and the job is not cancelled. Reusing a key after cancellation or retention expiry can create new work and charges. While replay applies, a different body returns 409 IDEMPOTENCY_CONFLICT. Use a new key for new work.

**Inputs**

- Idempotency key (`idempotency_key`, text): Idempotency-key.
- Pois (`pois`, list, required): Inline POIs to validate

**Outputs**

- `data` (object): Accepted validation or enrichment job submission.

**Example output**

```json
{
  "data": {
    "batch_id": "sample_batch_id",
    "created_at": "Example",
    "eta_completion_at": "Example",
    "eta_seconds": 1,
    "status": "queued",
    "total_items": 1,
    "type": "validate"
  }
}
```

### View API usage

Get current usage, quota, and reset date for the API key.

**Inputs**: None.

**Outputs**

- `data` (object): Response model for usage endpoint.

**Example output**

```json
{
  "data": {
    "api_key_id": "sample_api_key_id",
    "available": 1,
    "call_credit_hold": 1,
    "contact_email": "Example",
    "credits_per_field": 1,
    "credits_per_place": 1,
    "current_usage": 1,
    "customer_id": "sample_customer_id",
    "customer_name": "Example",
    "enrichment": {},
    "free_call_credits_left": 1,
    "key_created_at": "Example",
    "key_hint": "Example",
    "max_places": 1,
    "mcp_confirm_limit": 1,
    "mcp_daily_credit_cap": 1,
    "mcp_daily_credit_cap_default": 1,
    "mcp_spent_today": 1,
    "open_invoices": [
      {}
    ],
    "owed": 1,
    "percentage_used": 1,
    "period": "Example",
    "places_used": 1,
    "quota_limit": 1,
    "remaining": 1,
    "reset_date": "Example",
    "status": "Example",
    "tier": "Example",
    "validation_timestamp": "sample_validation_timestamp"
  }
}
```
