Skip to main content
POST
/
v1
/
arc
/
example-workflow
Trigger example workflow
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: JSON.stringify({requestId: 'req-12345'})
};

fetch('http://localhost:4005/v1/arc/example-workflow', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "success": true,
  "data": {
    "id": "<string>",
    "type": "<string>",
    "status": "<string>",
    "startedAt": "<string>",
    "triggeredFrom": "<string>",
    "publicAccessToken": "<string>"
  },
  "meta": {
    "requestId": "<string>",
    "timestamp": "<string>"
  }
}

Body

application/json
requestId
string

Optional request ID for tracking

Response

Workflow triggered successfully

success
enum<boolean>
required
Available options:
true
data
object
required
meta
object
required