Skip to content
techrace/
TECHRACE DOCUMENTATION

Posting

Every endpoint in this group: what it needs, the fields it accepts (type, required, limits), what it returns and its errors.

Queue one provider action atomically with quota and idempotency

POST/api/v1/projects/{project_id}/executionsexecutions:write

Parameters

FieldTypeRequiredRules
Idempotency-Key headerstringYeslength 8–120

Request body

FieldTypeRequiredRules
customer_iduuidYes
connection_iduuidYes
action"publish"Yes
inputobjectYes
input.contentstringYeslength 0–65000
input.titlestringNolength 0–160
input.media_idsuuid[]No0–10 items
input.optionsobjectNo
execute_atstring (date-time)No

Response 202

FieldTypeRequiredRules
executionobjectYes
replaybooleanNo

Errors

  • 400 Invalid request
  • 401 Authentication required
  • 402 Billing activation or published usage allowance required
  • 403 Project, role or scope denied
  • 409 State, ownership, idempotency or configuration conflict
  • 429 Rate limit; respect Retry-After
  • 502 Invalid stored result or inconsistent project/customer/operation binding; no private data returned
  • 503 Maintenance mode or required service configuration unavailable
Request
curl -X POST "https://YOUR_DOMAIN/api/v1/projects/$TECHRACE_PROJECT_ID/executions" \
  -H "Authorization: Bearer $TECHRACE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: post-2026-11-14-001" \
  --data @- <<EOF
{
  "customer_id": "8f1c2a4e-6b3d-4e21-9a77-1d0c5b2e9f10",
  "connection_id": "3b7e9d12-5c4a-4f8e-8b21-6a0d2c9e7f34",
  "action": "publish",
  "input": {
    "content": "Fresh croissants every morning 🥐",
    "media_ids": [
      "e9a2c5d1-7f3b-4c86-b014-5d2e8a1f6c73"
    ]
  }
}
EOF
Response
JSON
{
  "execution": {
    "id": "c41d7e2a-9b85-4f10-a3d6-2e8f1b7c5a90",
    "customer_id": "8f1c2a4e-6b3d-4e21-9a77-1d0c5b2e9f10",
    "connection_id": "3b7e9d12-5c4a-4f8e-8b21-6a0d2c9e7f34",
    "action": "publish",
    "status": "queued",
    "attempts": 0,
    "available_at": "2026-11-14T10:00:00.000Z",
    "external_id": null,
    "external_url": null,
    "provider_data_erased_at": null,
    "error_code": null,
    "created_at": "2026-11-14T10:00:00.000Z"
  }
}

List execution results

GET/api/v1/projects/{project_id}/executionsexecutions:read

Parameters

FieldTypeRequiredRules
cursor querystringNo
limit queryintegerNo1–100
customer_id queryuuidNo

Response 200

FieldTypeRequiredRules
dataobject[]Yes
next_cursorstring | nullYes

Errors

  • 400 Invalid request
  • 401 Authentication required
  • 402 Billing activation or published usage allowance required
  • 403 Project, role or scope denied
  • 409 State, ownership, idempotency or configuration conflict
  • 429 Rate limit; respect Retry-After
  • 502 Invalid stored result or inconsistent project/customer/operation binding; no private data returned
  • 503 Maintenance mode or required service configuration unavailable
Request
curl -X GET "https://YOUR_DOMAIN/api/v1/projects/$TECHRACE_PROJECT_ID/executions" \
  -H "Authorization: Bearer $TECHRACE_API_KEY"

Read an execution and its actual provider receipt

GET/api/v1/projects/{project_id}/executions/{execution_id}executions:read

Parameters

FieldTypeRequiredRules
execution_id pathuuidYes

Response 200

FieldTypeRequiredRules
executionobjectYes

Errors

  • 400 Invalid request
  • 401 Authentication required
  • 402 Billing activation or published usage allowance required
  • 403 Project, role or scope denied
  • 409 State, ownership, idempotency or configuration conflict
  • 429 Rate limit; respect Retry-After
  • 502 Invalid stored result or inconsistent project/customer/operation binding; no private data returned
  • 503 Maintenance mode or required service configuration unavailable
Request
curl -X GET "https://YOUR_DOMAIN/api/v1/projects/$TECHRACE_PROJECT_ID/executions/c41d7e2a-9b85-4f10-a3d6-2e8f1b7c5a90" \
  -H "Authorization: Bearer $TECHRACE_API_KEY"
Response
JSON
{
  "execution": {
    "id": "c41d7e2a-9b85-4f10-a3d6-2e8f1b7c5a90",
    "customer_id": "8f1c2a4e-6b3d-4e21-9a77-1d0c5b2e9f10",
    "connection_id": "3b7e9d12-5c4a-4f8e-8b21-6a0d2c9e7f34",
    "action": "publish",
    "status": "succeeded",
    "attempts": 1,
    "available_at": "2026-11-14T10:00:00.000Z",
    "external_id": "1122334455_998877665544",
    "external_url": "https://www.facebook.com/1122334455_998877665544",
    "provider_data_erased_at": null,
    "error_code": null,
    "created_at": "2026-11-14T10:00:00.000Z"
  }
}