Skip to Content
InvyteDocs

Approve or deny an access request

Decide a pending request for access to a share list. Approving emails them an invitation to the list; denying tells them on the request page that it was declined.

POST
/operations/shares.decideAccessRequest

Authorization

bearer
headerAuthorizationBearer <API key or OAuth token>

An organization API key (ink_live_…, ADR-0124), or the OAuth access token a person's AI client gets from the Recruiter MCP sign-in. Only the Authorization header is accepted.

Header Parameters

Idempotency-Key?string

Makes a write safe to repeat: the same key and input return the first result. Required for agents' writes and for anything a person confirms.

Match^[A-Za-z0-9._:-]+$
Length8 <= length <= 128

Request Body

application/json
  1. body
input*
confirmation?string

The id from a confirm or awaiting_approval Outcome, sent with the same input and key to go ahead.

Response Body

Done. A replay of the same key and input omits output.

application/json
  1. response
status*unknown
output?
actionId*string
Example Request
curl -X POST 'https://www.invyte.ai/api/recruiter/v1/operations/shares.decideAccessRequest' \  -H 'Content-Type: application/json' \  -d '{  "input": {    "shareId": "6a9e781b-5ee2-4314-8665-1c09eed0443a",    "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",    "decision": "approve"  }}'
Example Response
{  "status": "done",  "output": {    "shareId": "string",    "requestId": "string",    "status": "APPROVED"  },  "actionId": "string"}