POST
/
v2
/
{env_id}
/
{flow_id}
/
{tenant}
/
jobs
curl --request POST \
  --url https://client-api.hotglue.xyz/v2/{env_id}/{flow_id}/{tenant}/jobs \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "connector_id": "<string>",
  "job_type": "read",
  "job_name": "<string>",
  "state": "<string>"
}'
{}

Authorizations

x-api-key
string
headerrequired

Path Parameters

env_id
string
required

ID of environment

flow_id
string
required

ID of flow

tenant
string
required

ID of tenant

Body

application/json
connector_id
string
required

The ID of the connector to run a job for. Note that in V2 flows, you do not pass a tap or target

job_type
enum<string>
required

The schedule expression to sync on

Available options:
read,
write
job_name
string

An optional identifier for your job

state
string

Optional extra context to be used by the job. Often used with the unified schema for write jobs. Note that this is different from the source state.

Response

200 - application/json

The response is of type object.