Skip to main content
POST
Copy a position

Authorizations

Authorization
string
header
required

Supabase JWT — Authorization: Bearer <token>.

Body

application/json
position_id
string<uuid>
required

The position to copy (position_def_set.id).

name
string

Name of the copy. Default: the name with " (copy)".

Required string length: 1 - 300
target_merchant_id
string<uuid>

Copy into another company you manage (admins and sub-merchant operators only; other callers always copy into their own company). Default: the position's company.

interview_location
string

Location of the copy. Default: the original's.

Required string length: 1 - 300
openings_total
integer | null

Openings of the copy; null = not set. Default: the original's.

Required range: 1 <= x <= 10000
country
string

Country of the copy (ISO code): candidates from that country only, and the pre-screening's position country. Default: the original's.

Pattern: ^[A-Za-z]{2}$
interview_available_till
string<date-time> | null

When applications close; null = open. Default: the original's.

Response

The copy.

position_id
string<uuid>
required

The copy (position_def_set.id). It is a draft: publish it with set_interview_state.

source_position_id
string<uuid>
required

The position copied (position_def_set.id).