Skip to main content
POST
/
v1
/
events
/
{eventKey}
/
send
Send an event
curl --request POST \
  --url https://api.strait.dev/v1/events/{eventKey}/send \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "payload": "<unknown>"
}
'
{
  "event_key": "<string>",
  "expires_at": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "project_id": "<string>",
  "requested_at": "2023-11-07T05:31:56Z",
  "source_type": "<string>",
  "status": "<string>",
  "timeout_secs": 123,
  "$schema": "<string>",
  "error": "<string>",
  "job_run_id": "<string>",
  "notify_status": "<string>",
  "notify_url": "<string>",
  "received_at": "2023-11-07T05:31:56Z",
  "request_payload": "<unknown>",
  "response_payload": "<unknown>",
  "sent_by": "<string>",
  "trigger_type": "<string>",
  "workflow_run_id": "<string>",
  "workflow_step_run_id": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.strait.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key passed as Bearer token

Path Parameters

eventKey
string
required

Body

application/json
payload
any

Response

OK

event_key
string
required
expires_at
string<date-time>
required
id
string
required
project_id
string
required
requested_at
string<date-time>
required
source_type
string
required
status
string
required
timeout_secs
integer<int64>
required
$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"https://api.strait.dev/schemas/EventTrigger.json"

error
string
job_run_id
string
notify_status
string
notify_url
string
received_at
string<date-time>
request_payload
any
response_payload
any
sent_by
string
trigger_type
string
workflow_run_id
string
workflow_step_run_id
string