> This page is for BaaS.

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

# List the KYC evidence files of an accreditation

GET https://tenant.api.corpx.com/v1/accreditations/{accreditationId}/artifacts

Returns the KYC artifacts archived for the accreditation — the company
documents you uploaded, the signed evidence set produced by the identity
provider (`unico_evidence_set`, a JWT) and the holder selfie
(`unico_selfie`). Each item already carries a pre-signed `downloadUrl`
valid for about 10 minutes, so there is no second round trip.

`downloadUrl` is omitted while `scanStatus` is not `APPROVED`: uploads go
through type checking, antivirus and sanitisation before being archived.

Two independent switches gate this endpoint, because it returns the
holder's biometrics:

- the `kyc_artifacts` feature must be enabled for your tenant (contact
  CorpX — it requires a contractual clause), otherwise `403
  feature_disabled`;
- the API credential must carry the `kyc.read` scope. The generic `read`
  scope is deliberately **not** accepted, so no existing credential
  starts downloading faces without an explicit decision.

**BaaS integrators only.**


Reference: https://en.docs.api.corpx.com/baas/referencia/accreditations/list-accreditation-artifacts

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Path parameters

- `accreditationId` (string, required) — Accreditation identifier (`acr_*`).

### Headers

- `X-Tenant-Id` (string, required) — Tenant context used for authorization and routing.

## Response

### 200

Archived artifacts, newest first.

- `accreditationId` (string, optional)
- `count` (integer, optional)
- `items` (list of V1AccreditationsAccreditationIdArtifactsGetResponsesContentApplicationJsonSchemaItemsItems, optional)

## Errors

### 403 Forbidden Error

`feature_disabled` (tenant without `kyc_artifacts`) or `insufficient_scope` (credential without `kyc.read`).

- `errorCode` (string, required) — Stable machine-readable code. See `ErrorCode` for the known values.
- `message` (string, required) — Human-readable explanation (pt-BR). Presentation only; may change.
- `docs` (string, optional) — Link to this code in the public error catalogue.
- `requestId` (string, optional) — Gateway request id. Quote it when contacting support.
- `details` (map from string to any, optional) — Optional machine-readable context for the specific `errorCode` (for example `kind` on `identity_verification_monthly_limit_exceeded`, `maxBytes` on `payload_too_large`, `attemptsRemaining` on `facetec_attempts_exhausted`). Keys are documented per operation; absent when the code carries no extra context.
- `partner` (ErrorResponsePartner, optional) — Raw error from the settlement bank, when the failure came from it. Diagnostic only.

### 404 Not Found Error

Accreditation not found (or belongs to another tenant).

- `errorCode` (string, required) — Stable machine-readable code. See `ErrorCode` for the known values.
- `message` (string, required) — Human-readable explanation (pt-BR). Presentation only; may change.
- `docs` (string, optional) — Link to this code in the public error catalogue.
- `requestId` (string, optional) — Gateway request id. Quote it when contacting support.
- `details` (map from string to any, optional) — Optional machine-readable context for the specific `errorCode` (for example `kind` on `identity_verification_monthly_limit_exceeded`, `maxBytes` on `payload_too_large`, `attemptsRemaining` on `facetec_attempts_exhausted`). Keys are documented per operation; absent when the code carries no extra context.
- `partner` (ErrorResponsePartner, optional) — Raw error from the settlement bank, when the failure came from it. Diagnostic only.

### 500 Internal Server Error

Unexpected server error.

- `errorCode` (string, required) — Stable machine-readable code. See `ErrorCode` for the known values.
- `message` (string, required) — Human-readable explanation (pt-BR). Presentation only; may change.
- `docs` (string, optional) — Link to this code in the public error catalogue.
- `requestId` (string, optional) — Gateway request id. Quote it when contacting support.
- `details` (map from string to any, optional) — Optional machine-readable context for the specific `errorCode` (for example `kind` on `identity_verification_monthly_limit_exceeded`, `maxBytes` on `payload_too_large`, `attemptsRemaining` on `facetec_attempts_exhausted`). Keys are documented per operation; absent when the code carries no extra context.
- `partner` (ErrorResponsePartner, optional) — Raw error from the settlement bank, when the failure came from it. Diagnostic only.

## Types

### V1AccreditationsAccreditationIdArtifactsGetResponsesContentApplicationJsonSchemaItemsItems

- `artifactId` (string, optional)
- `kind` (string, optional) — `unico_evidence_set`, `unico_selfie`, `external_evidence`, `acceptance_record` or the company document kind you uploaded.
- `cpf` (string, optional)
- `fileName` (string, optional)
- `contentType` (string, optional)
- `sizeBytes` (long, optional)
- `sha256` (string, optional)
- `createdAt` (datetime, optional)
- `scanStatus` (enum, optional) — Absent when the sanitisation pipeline is disabled.
  - Allowed values: `PENDING`, `PENDING_UPLOAD`, `APPROVED`, `REJECTED`, `UNKNOWN`
- `scanReason` (string, optional)
- `metadata` (map from string to string, optional) — Provenance of the artifact — `unicoProcessId` and `source` (`consent` when it came from the account authorization journey), or `fileName`/`kind` for documents you uploaded.
- `downloadUrl` (string, optional) — Pre-signed URL (~10 min). Absent while `scanStatus` is not `APPROVED`.

### ErrorResponsePartner

Raw error from the settlement bank, when the failure came from it. Diagnostic only.

- `code` (string, optional)
- `message` (string, optional)
- `field` (string, optional) — Field the partner pointed at, when any.

## Examples

**Response**

```json
{
  "accreditationId": "acr_891418ce2f67",
  "count": 2,
  "items": [
    {
      "artifactId": "art_7c1d90f2ab34",
      "kind": "unico_evidence_set",
      "cpf": "12345678901",
      "fileName": "unico_evidence_set.jwt",
      "contentType": "application/jwt",
      "sizeBytes": 14203,
      "sha256": "3f9a2b1c0d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a",
      "createdAt": "2026-02-20T08:33:39Z",
      "scanStatus": "PENDING",
      "scanReason": "Pagamento pedido #12345",
      "metadata": {
        "key": "db5c2a29-243e-42a2-862b-89737c0213aa"
      },
      "downloadUrl": "https://example.com/webhooks/corpx"
    }
  ]
}
```

**SDK Code**

```python Accreditations_listAccreditationArtifacts_example
import requests

url = "https://tenant.api.corpx.com/v1/accreditations/accreditationId/artifacts"

headers = {
    "X-Tenant-Id": "X-Tenant-Id",
    "Authorization": "Bearer <token>"
}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Accreditations_listAccreditationArtifacts_example
const url = 'https://tenant.api.corpx.com/v1/accreditations/accreditationId/artifacts';
const options = {
  method: 'GET',
  headers: {'X-Tenant-Id': 'X-Tenant-Id', Authorization: 'Bearer <token>'}
};

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

```go Accreditations_listAccreditationArtifacts_example
package main

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

func main() {

	url := "https://tenant.api.corpx.com/v1/accreditations/accreditationId/artifacts"

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

	req.Header.Add("X-Tenant-Id", "X-Tenant-Id")
	req.Header.Add("Authorization", "Bearer <token>")

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

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

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

}
```

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

url = URI("https://tenant.api.corpx.com/v1/accreditations/accreditationId/artifacts")

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

request = Net::HTTP::Get.new(url)
request["X-Tenant-Id"] = 'X-Tenant-Id'
request["Authorization"] = 'Bearer <token>'

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

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

HttpResponse<String> response = Unirest.get("https://tenant.api.corpx.com/v1/accreditations/accreditationId/artifacts")
  .header("X-Tenant-Id", "X-Tenant-Id")
  .header("Authorization", "Bearer <token>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://tenant.api.corpx.com/v1/accreditations/accreditationId/artifacts', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'X-Tenant-Id' => 'X-Tenant-Id',
  ],
]);

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

```csharp Accreditations_listAccreditationArtifacts_example
using RestSharp;

var client = new RestClient("https://tenant.api.corpx.com/v1/accreditations/accreditationId/artifacts");
var request = new RestRequest(Method.GET);
request.AddHeader("X-Tenant-Id", "X-Tenant-Id");
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Accreditations_listAccreditationArtifacts_example
import Foundation

let headers = [
  "X-Tenant-Id": "X-Tenant-Id",
  "Authorization": "Bearer <token>"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://tenant.api.corpx.com/v1/accreditations/accreditationId/artifacts")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

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()
```