# Download certificate

`GET /v1/certificate/@id/crt` · scope `services:read`

X.509 certificate data of the service.

## HTTP request

| Item | Value |
| --- | --- |
| URL | `https://api.tino.vn/v1/certificate/@id/crt` |
| Method | `GET` |
| Scope | `services:read` |
| Header | `Authorization: Bearer <token>` |
| Content-Type | — (no body) |
| Tokens that can call it | app tokens (`tinoat_`), personal API tokens (`tinopat_`) |

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | integer | yes | SSL certificate service ID |

## Example request

```bash
curl "https://api.tino.vn/v1/certificate/12345/crt" \
  -H "Authorization: Bearer $TINO_TOKEN"
```

`$TINO_TOKEN` is a token with the scope `services:read`. Path parameters in the example are sample values.

SDK ([SDK & examples](/en/docs/sdk)): Python `client.certificates.download(service_id)`, Node.js `await client.certificates.download(serviceId);`, PHP `$client->certificates->download($serviceId);`.

## Example response

```json
[]
```

Live sample from a test account with personal data masked; long arrays and strings are trimmed (`… N more item(s)`, `… N more line(s)`).
