# getPartnerAccessRequest

Source: /openapi/thomas-federated.openapi.json

## Operation

| Method | URL |
|---|---|
| GET | https://staging-api.thomas.co/v1/partner-access-requests/{grantId} |

| Field | Value |
|---|---|
| operationId | getPartnerAccessRequest |
| method | GET |
| server | https://staging-api.thomas.co/v1 |
| path | /partner-access-requests/{grantId} |
| tags | `Partner access governance` |
| summary | Read the exact pending Partner access request for your tenant |
| badges | None |

## Request Parameters

| Name | In | Required | Schema | Description |
|---|---|---|---|---|
| grantId | path | true | string |  |

## Request Body

None.

## Responses

| Status | Description | Schema refs |
|---|---|---|
| 200 | The exact pending reviewed artefact and only the durable identifiers needed to submit its approval command. Carries no Partner secret or unrelated Customer data. | #/components/schemas/PartnerAccessRequestReviewDto |
| 400 | Invalid UUID format for grantId | #/components/schemas/ApiErrorResponseDto |
| 401 | Invalid or missing authentication token (AUTH_TOKEN_INVALID) | #/components/schemas/ApiErrorResponseDto |
| 403 | The caller is not a live eligible owner of the authenticated tenant, or is not a person at all (PARTNER_APPROVER_NOT_ELIGIBLE, AUTH_PRINCIPAL_NOT_HUMAN) | #/components/schemas/ApiErrorResponseDto |
| 404 | No pending access request exists at this id for the authenticated tenant (PARTNER_ACCESS_REQUEST_NOT_FOUND) | #/components/schemas/ApiErrorResponseDto |

## Artifact Examples

### Response 400 example

```json
{
  "statusCode": 400,
  "message": "Validation failed (uuid is expected)",
  "error": "HTTP_BAD_REQUEST"
}
```

### Response 401 example

```json
{
  "statusCode": 401,
  "message": "Invalid or missing authentication token",
  "error": "AUTH_TOKEN_INVALID"
}
```
