Create endpoint

Description

POST /api/dashboard/endpoints creates (or reuses) an endpoint for the Management API Key owner on BlockReq Web.

Request

ItemValue
MethodPOST
URLhttps://blockreq.com/api/dashboard/endpoints
HeaderAuthorization: Bearer akv1_...
Body{ "chain": "ethereum", "name": "optional" }

Use GET /api/dashboard/chains for supported chain values.

Code

curl -X POST https://blockreq.com/api/dashboard/endpoints \ -H "Authorization: Bearer akv1_YOUR_MANAGEMENT_API_KEY" \ -H "Content-Type: application/json" \ -d '{"chain":"ethereum"}'

Try It

POST /dashboard/endpoints

https://blockreq.com/api/dashboard/endpoints