Run with API

Trigger your Fetch Hive Workflows via endpoints.

Invoke a workflow

post

Trigger a workflow to run

Authorizations
Body
endpointstringRequiredExample: fetchhive
variantstringRequiredExample: production
Responses
200
Successful response
application/json
post
POST /v1/workflow/invoke HTTP/1.1
Host: api.fetchhive.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 160

{
  "endpoint": "fetchhive",
  "variant": "production",
  "inputs": {
    "first_start_input": "text",
    "second_start_input": "text"
  },
  "async": {
    "enabled": true,
    "callback_url": "text"
  }
}
{
  "output": "text"
}

Last updated

Was this helpful?