---
title: "Approve Access Request Endpoint"
method: POST
path: "/v1/onboarding/access-requests/{access_request_id}:approve"
tags: ["onboarding"]
---

# Approve Access Request Endpoint

`POST /v1/onboarding/access-requests/{access_request_id}:approve`

## Request

- Base URL: `https://api.4chems.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.4chems.com/v1/onboarding/access-requests/{access_request_id}:approve`
- Auth: HTTP bearer

Approve a pending access request: issue a `member` invitation to the
requester and resolve the request (level `admin` or `owner` of the
request's tenant). The response carries the single-use invitation token
to hand to the requester, who accepts via `accept_invitation`. 409
`access_request.not_pending` unless the request is pending.

## Path parameters

- `access_request_id` string, uuid, required

## Response `200`

Successful Response

- AccessRequestApprovedOut: `approve_access_request` response: the issued invitation, with its single-use accept token for the admin to hand to the requester.
  - `id` string, uuid, required
  - `tenant_id` string, uuid, required
  - `status` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `invitation_id` string, uuid, required
  - `token` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/4chems/apis/platform-api.md) · [All operations](https://skmtc.dev/4chems/apis/platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/4chems/apis/platform-api/revisions/65e4f7b4dba0?raw)
