---
title: "Register a new endpoint"
method: POST
path: "/api/partner/endpoints"
tags: ["Partner"]
---

# Register a new endpoint

`POST /api/partner/endpoints`

## Request

- Base URL: `https://x402-agent-pay.com`
- URL: `https://x402-agent-pay.com/api/partner/endpoints`
- Auth: none declared

Add an x402-payable API endpoint to your provider listing. Agents can discover and pay for your endpoint via AgentPay.

## Request body

- EndpointCreate
  - `partner_id` string, required
  - `api_key` string, required
  - `url` string, required: Your x402-payable endpoint URL
  - `price_usdc` number, required: Price per call in USDC
  - `description` string
  - `method` 'GET' | 'POST' | 'PUT' | 'DELETE'

## Response `200`

Endpoint registered

---

[API](https://skmtc.dev/x402-agent-pay/apis/agentpay-x402-facilitator-api.md) · [All operations](https://skmtc.dev/x402-agent-pay/apis/agentpay-x402-facilitator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/x402-agent-pay/apis/agentpay-x402-facilitator-api/revisions/33ece6814ac9?raw)
