Sourced candidates

Edit a sourced profile's outreach sequence

PATCH/v1/sourced-candidates/{sourcedCandidateId}/sequence

Saves a draft before outreach starts, or a pending follow-up body after it starts. An invalid edit is 400 `INVALID_SEQUENCE`; an email that is no longer editable is 409 `SEQUENCE_NOT_EDITABLE`. Saving never starts or restarts outreach.

Requires the session token of a signed-in Alfa user as a bearer token.

Path parameters

  • sourcedCandidateIdinteger | stringrequired

Request body

  • sequenceobjectrequired
    Show fields
    • subject1string | null
    • body1string | null
    • subject2string | null
    • body2string | null
    • subject3string | null
    • body3string | null

Responses

  • 200Success.
  • 400The request is malformed: invalid JSON, an unexpected body or an unknown query parameter. Problem details
  • 401The bearer token is missing, expired or invalid. Problem details
  • 403The caller may not perform this operation, or has no active organisation. Problem details
  • 404The resource does not exist or is not visible to the caller. Problem details
  • 422The request failed validation; `errors` lists each invalid field. Problem details
  • 429Too many requests, or the AI service is busy. Retry after a short wait. Problem details
  • 500An unexpected error. Quote the `correlationId` to support. Problem details