Employments
Employment Management
Set contract origin for a contractor employment
Changed onSets the contract_origin for a contractor employment.
- remote_contract — Remote provides and manages the contract (a contract document is created)
- custom_remote_contract — A customised Remote contract is used (a contract document is created)
- provided_by_customer — The employer provides their own contract (no contract document is created)
When provided_by_customer is selected, the contractor can be invited without completing the contract_details onboarding step.
Authentication
This endpoint accepts any one of the following token types:
- Company-scoped access token (OAuth2AuthorizationCode) — obtained through the Authorization Code flow or the Refresh Token flow. See Authentication for partners.
- Customer API token (CustomerAPIToken) — generated by the customer on their Integration Settings page. See Authorization for customers.
Scopes
| Category | Read only Scope | Write only Scope (read access implicit) |
|---|---|---|
| Manage employments (employments) | - | Manage employments (employment:write) |
post/v1/employments/{employment_id}/contract-origin
Request
- Base URL: https://gateway.remote.com
- URL: https://gateway.remote.com/v1/employments/{employment_id}/contract-origin
- Auth: HTTP bearer and OAuth 2 (authorization code, authorization URL /auth/oauth2/authorize, token URL /auth/oauth2/token, scopes: https://gateway.remote.com/company.manage, employment:write, employments, all:write)
Path parameters
employment_idstring required
Employment ID
Request body
Example request
{
"contract_origin": "provided_by_customer",
"template_type": "contractor_agreement"
}Response
Success
Example response
{
"data": {
"status": "ok"
}
}Changes
- info
endpoint added
- info