> 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 KYB request status

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

Returns the current status of a KYB request.

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

## 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

Status 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) — ISO 8601 timestamp of when the KYB request was submitted.

## Errors

### 404 Not Found Error

KYB request not found.

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

## Examples

**Request**

```json
{}
```

**Response**

```json
{
  "statusCode": 200,
  "request_id": "a1b2c3d4-e5f6-7890-ab12-cd34ef567890",
  "status": "pending_verification",
  "company_name": "GreenTech Innovations Ltd.",
  "submitted_at": "2024-01-15T09:30:00Z"
}
```

**SDK Code**

```python
import requests

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

querystring = {"request_id":"a1b2c3d4-e5f6-7890-ab12-cd34ef567890"}

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_status/?request_id=a1b2c3d4-e5f6-7890-ab12-cd34ef567890';
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_status/?request_id=a1b2c3d4-e5f6-7890-ab12-cd34ef567890"

	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_status/?request_id=a1b2c3d4-e5f6-7890-ab12-cd34ef567890")

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_status/?request_id=a1b2c3d4-e5f6-7890-ab12-cd34ef567890")
  .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_status/?request_id=a1b2c3d4-e5f6-7890-ab12-cd34ef567890', [
  '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_status/?request_id=a1b2c3d4-e5f6-7890-ab12-cd34ef567890");
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_status/?request_id=a1b2c3d4-e5f6-7890-ab12-cd34ef567890")! 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()
```