Post Work Order Tasks Id External Reviewers
Emails a request to review a completed work order task to an external reviewer, either an existing external user by user_id or a new one registered from name and email; only admins, the parent work order’s assigned managers and leads, and location managers who did not contribute to the task’s form may call it, and only when external reviews are enabled for the organisation.
Authentication
OAuth 2.0 Client Credentials Flow. To obtain an access token:
-
Request API credentials from HINDSITE support to receive your
client_idandclient_secret -
Make a POST request to obtain an access token:
POST https://app.hindsiteind.com/oauth/token
Content-Type: application/x-www-form-urlencoded
grant_type=client_credentials&client_id=YOUR_CLIENT_ID&client_secret=YOUR_CLIENT_SECRET
- The response will contain your access token:
{
"access_token": "your_access_token_here",
"token_type": "Bearer",
"expires_in": 7200,
"created_at": 1234567890
}
- Include the token in subsequent API requests:
Authorization: Bearer your_access_token_here
Path parameters
Request
ULID of an existing active external user in the organisation. When given, name and email are ignored.
Name for a new external user; required when user_id is not given
Email for a new external user; required when user_id is not given
Response
The reviewer, including last_active_at and archived
pending while awaiting a response (including after a reminder), approved or rejected once they respond, commented for someone who only commented without being asked to review
When the review request was last emailed (ISO 8601); null if no request was emailed, such as someone who reviewed without being asked
true for an external (non-member) reviewer
true when the caller can send this reviewer a reminder: they are not the caller, their access is not revoked, and they can receive email
Unix timestamp (seconds since epoch)
Unix timestamp (seconds since epoch)
