> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.trevex.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.trevex.io/_mcp/server.

# Get full KYB request detail

GET https://api.trevex.io/apis/email/claim_detail/

Returns full details of a KYB request. When the request is approved, the
response includes a `verification` object with the audit scope.


Reference: https://docs.trevex.io/api-reference/kyb-requests/claim-detail

## Authentication

- `Authorization` header (required) — Pass your API key as `Api-Key <your_api_key>` in the `Authorization` header. API keys are issued per Project by the TREVEX team.

## Servers

- `https://api.trevex.io` (Production, default)
- `https://testapi.trevex.io` (Staging)

## Request

### Query parameters

- `request_id` (string, required) — The `request_id` returned by `create_claim`.

## Response

### 200

KYB request detail retrieved.

- `statusCode` (integer, optional)
- `request_id` (string, optional)
- `status` (enum, optional) — - `pending_verification` — user has not yet verified their email - `under_review` — user is verified; awaiting admin decision - `approved` — admin approved the KYB request - `rejected` — admin declined the KYB request (can be resubmitted)
  - Allowed values: `pending_verification`, `under_review`, `approved`, `rejected`
- `company_name` (string, optional)
- `submitted_at` (datetime, optional)
- `claim_data` (map from string to any, optional) — Full snapshot of the submitted KYB request payload.
- `verification` (Verification, optional) — Only present when `status` is `approved` and a company record is linked.

## Errors

### 404 Not Found Error

KYB request not found.

- `statusCode` (integer, optional)
- `message` (string, optional)

## Types

### Verification

Only present when `status` is `approved` and a company record is linked.

- `trevex_company_id` (string, optional)
- `approved_at` (datetime, optional)
- `verification_scope` (VerificationScope, optional)
- `note` (string, optional)

### VerificationScope

- `company_existence_verified` (boolean, optional)
- `trade_license_submitted` (boolean, optional)
- `authorized_signatory_submitted` (boolean, optional)
- `ownership_confirmed` (boolean, optional)

## Examples

**Request**

```json
{}
```

**Response**

```json
{
  "statusCode": 200,
  "request_id": "REQ-20240115-987654",
  "status": "approved",
  "company_name": "GreenTech Innovations LLC",
  "submitted_at": "2024-01-10T14:22:00Z",
  "claim_data": {
    "company_registration_number": "GTI-2023-4589",
    "applicant_name": "Alice Johnson",
    "email": "alice.johnson@greentech.com",
    "phone": "+1-555-123-4567",
    "address": "1234 Elm Street, Springfield, IL, 62704",
    "industry": "Renewable Energy",
    "documents_submitted": [
      "trade_license.pdf",
      "authorized_signatory_id.pdf"
    ]
  },
  "verification": {
    "trevex_company_id": "TRXAE0000042",
    "approved_at": "2024-01-15T09:30:00Z",
    "verification_scope": {
      "company_existence_verified": true,
      "trade_license_submitted": true,
      "authorized_signatory_submitted": true,
      "ownership_confirmed": true
    },
    "note": "All documents verified and ownership confirmed."
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.trevex.io/apis/email/claim_detail/"

querystring = {"request_id":"request_id"}

payload = {}
headers = {
    "Authorization": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.get(url, json=payload, headers=headers, params=querystring)

print(response.json())
```

```javascript
const url = 'https://api.trevex.io/apis/email/claim_detail/?request_id=request_id';
const options = {
  method: 'GET',
  headers: {Authorization: '<apiKey>', 'Content-Type': 'application/json'},
  body: '{}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.trevex.io/apis/email/claim_detail/?request_id=request_id"

	payload := strings.NewReader("{}")

	req, _ := http.NewRequest("GET", url, payload)

	req.Header.Add("Authorization", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.trevex.io/apis/email/claim_detail/?request_id=request_id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.trevex.io/apis/email/claim_detail/?request_id=request_id")
  .header("Authorization", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.trevex.io/apis/email/claim_detail/?request_id=request_id', [
  'body' => '{}',
  'headers' => [
    'Authorization' => '<apiKey>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.trevex.io/apis/email/claim_detail/?request_id=request_id");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.trevex.io/apis/email/claim_detail/?request_id=request_id")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```