Testing & Sandbox
Sandbox
Approve job title review
Changed onApproves the job title review an employment is in, without the intervention of a Remote admin, so the integration can be tested against the decision it will see in production.
The employment returns to the status it held before it entered review, and an employment.job_title_review.approved webhook event is emitted.
Responds with 422 when the employment is not in a job title review.
This endpoint is only available in Sandbox, otherwise it will respond with a 404.
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.
post/v1/sandbox/employments/{employment_id}/job-title-review/approve
Request
- Base URL: https://gateway.remote.com
- URL: https://gateway.remote.com/v1/sandbox/employments/{employment_id}/job-title-review/approve
- Auth: HTTP bearer and OAuth 2 (authorization code, authorization URL /auth/oauth2/authorize, token URL /auth/oauth2/token)
Path parameters
employment_idstring required
Employment ID
Request body
Example request
{
"notes": "Checked the role against the local restrictions."
}Response
Success
Example response
{
"data": {
"job_title_review": {
"employment_status": "created"
}
}
}Changes
- info
endpoint added
- info