Skip to main content
GET
/
api
/
agent
/
lead-magnets
/
{id}
/
wait
Long-poll wait for lead magnet completion
curl --request GET \
  --url https://www.citedy.com/api/agent/lead-magnets/{id}/wait \
  --header 'Authorization: Bearer <token>'
{
  "error": "<string>",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer citedy_agent_* key

Path Parameters

id
string<uuid>
required

Lead magnet run ID from POST response

Query Parameters

timeout
integer
default:25

Max wait seconds (clamped 1-25)

Required range: 1 <= x <= 25

Response

Lead magnet result, progress, or failure