# Retrieve agent server certificates (https://developer.godaddy.com/en/docs/references/rest/ans/get-agent-server-certificate-by-agent-id)

---
title: Retrieve agent server certificates
description: Retrieves all TLS server certificates for the specified agent
full: true
---

## GET /v1/agents/{agentId}/certificates/server

Retrieve agent server certificates

Retrieves all TLS server certificates for the specified agent

### Path parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `agentId` | string | yes | Unique identifier of the agent (UUID format) |

### Responses

**200** — Server certificate(s) retrieved successfully

Content-Type: `application/json`

Schema:

- array
  - items:

**401** — Authentication failed

Content-Type: `application/json`

Schema:

- schema reference: `#/components/schemas/ErrorResponse`

**403** — Authorization failed

Content-Type: `application/json`

Schema:

- schema reference: `#/components/schemas/ErrorResponse`

**404** — Agent or certificate not found

Content-Type: `application/json`

Schema:

- schema reference: `#/components/schemas/ErrorResponse`

**500** — Internal server error

Content-Type: `application/json`

Schema:

- schema reference: `#/components/schemas/ErrorResponse`
