# Trigger ACME validation (https://developer.godaddy.com/en/docs/references/rest/ans/validate-registration)

---
title: Trigger ACME validation
description: >-
  Initiates domain control validation after the ACME challenge token has been
  placed at the specified location.
full: true
---

Full description

Initiates domain control validation after the ACME challenge token has been placed at the specified location. The RA determines the validation method automatically based on the registration configuration.

## POST /v1/agents/{agentId}/verify-acme

Trigger ACME validation

Initiates domain control validation after the ACME challenge token has been placed at the specified location. The RA determines the validation method automatically based on the registration configuration.

### Path parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `agentId` | string | yes | Unique identifier of the agent |

### Responses

**202** — Validation successful, certificates pending

Content-Type: `application/json`

Schema:

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

**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 not found

Content-Type: `application/json`

Schema:

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

**422** — Validation failed

Content-Type: `application/json`

Schema:

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

**500** — Internal server error

Content-Type: `application/json`

Schema:

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