v1

latestOpenAPI 3.1.02026-08-0456127224.3 KB
Interviewers

Update a workflow step's config

Partially update one workflow step's config without touching other steps or posting-level fields. step_id is the step's type or its 1-based order.

patch/api/v2/postings/{posting_id}/workflow/{step_id}

Path parameters

posting_idstring required
step_idstring required

Headers

X-API-KEYstring nullable
Authorizationstring nullable
X-Workspace-Idstring nullable

Request body

configobject required

Partial step config. Allowed keys depend on the step's agent type (see the matching step config in the create request). Nested objects are replaced as a whole. Unknown keys return 400.

Example request

{
  "config": {
    "company_overview_delivery_mode": "summarized_delivery",
    "instructions": "Updated step-only instructions."
  }
}

Response

Successful Response

metaobject nullable

Optional metadata. Shape varies by endpoint.

Example response

{
  "data": {
    "id": "13D77095",
    "company_id": "comp_abc123",
    "title": "Senior Software Engineer",
    "name": "senior-software-engineer",
    "description": "We are looking for a senior software engineer...",
    "language": "en",
    "interviewer_name": "Sarah",
    "status": "active",
    "finalized": true,
    "workflow": [
      {
        "id": "agent_vi_001",
        "type": "web_interview",
        "order": 1
      }
    ],
    "urls": {
      "candidate_url": "https://candidates.heymilo.io/acme/senior-engineer",
      "ingestion_url_key": "ibURejyPMSlw6de0OZUdoxyoXTgWO78ey2NUo96EOG1gY",
      "review_url": "https://admin.heymilo.ai/w/ABC123/lab2/POST_ID/1-details"
    },
    "deadline": 1775174400,
    "redirect_url": "https://acme.com/thank-you",
    "scheduling_url": "https://cal.com/acme/interview",
    "max_retakes": 1,
    "ats_metadata": {
      "ats_job_id": "WK-12345",
      "ats_name": "workable",
      "pending_activation": true,
      "source": "job_sync"
    },
    "metadata": {
      "external_id": "ats_12345",
      "source": "workday"
    },
    "created_at": 1739612400,
    "updated_at": 1739617200
  }
}