Skip to main content
POST
/
api
/
v1
/
initiate_callback
Initiate Callback
curl --request POST \
  --url https://api.example.com/api/v1/initiate_callback \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "task_id": "<string>",
  "endpoint_name": "<string>",
  "callback_url": {
    "url": "<string>",
    "api_key": "<string>",
    "username": "<string>",
    "password": "<string>"
  }
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Headers

x-api-key
string
required

Body

application/json
task_id
string
required
endpoint_name
string
required
callback_url
CallbackUrl · object

Response

Successful Response