---
title: "Place a test call from a call widget"
method: POST
path: "/call-widgets/{id}/test-call"
tags: ["Call widgets"]
---

# Place a test call from a call widget

`POST /call-widgets/{id}/test-call`

## Request

- Base URL: `https://api.flogpt.com/api/v1`
- URL: `https://api.flogpt.com/api/v1/call-widgets/{id}/test-call`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`

Queues one outbound call to `to` (E.164) on the widget's trigger
campaign. Accepted asynchronously — the call is placed by the queue, so
a `202` means it was enqueued, not answered.

## Path parameters

- `id` string, required

## Request body

- object
  - `to` string, required: Destination in E.164 format.

## Response `202`

Test call queued

## Other responses

- `400`: The request is invalid.
- `404`: The resource does not exist in the API key's organization.

---

[API](https://skmtc.dev/flogpt/apis/flogpt-organization-api.md) · [All operations](https://skmtc.dev/flogpt/apis/flogpt-organization-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flogpt/apis/flogpt-organization-api/revisions/c3a6cff76797?raw)
