Contracts
Employment Contracts
Get employment contract pending changes
Get all the pending changes (waiting for aproval or signature) for the employment contract.
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) | View contracts (contract:read) | - |
get/v1/employment-contracts/{employment_id}/pending-changes
Request
- Base URL: https://gateway.remote.com
- URL: https://gateway.remote.com/v1/employment-contracts/{employment_id}/pending-changes
- 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, contract:read, employments, all:write, all:read)
Path parameters
employment_idstring required
Employment ID
Headers
Authorizationstring required
Requires a Company-scoped access token obtained through the Authorization Code flow or the Refresh Token flow.
The refresh token needs to have been obtained through the Authorization Code flow.
Response
Success
Example response
{
"data": {
"pending_changes": [
{
"changes": {
"contract.job_title": {
"current": "Senior Engineer",
"previous": "Engineer"
}
},
"contract_id": "0073fcb5-b669-4e4a-b963-2a47744e75a1",
"effective_at": "2021-07-15T18:18:17Z"
}
]
}
}Changes
No recorded changes to this operation across all 65 revisions of this API.