Skip to main content
POST
/
projects
/
{id}
/
test
Test Project
curl --request POST \
  --url https://api.politicalcomms.com/v1/projects/{id}/test \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "test_contacts": [
    {
      "phone": "+15555550100"
    }
  ]
}
'
{
  "success": true,
  "data": {
    "project_id": "proj_abc123",
    "tests_sent": 1,
    "sent_to": [
      "+15555550100"
    ],
    "queued_at": "2026-03-20T11:05:00Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.politicalcomms.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Authenticate every request by passing your API key in the X-API-Key header. Keys are scoped to your organization hierarchy.

Path Parameters

id
string
required

Resource ID

Body

application/json
test_contacts
object[]
required
Required array length: 1 - 50 elements

Response

Test sent