Valorcy API Reference
Everything you need to integrate Valorcy into your applications. RESTful endpoints, authentication, SDKs, and comprehensive documentation.
Getting started
Sign up for a Valorcy account and generate your API key from the dashboard settings. Keys start with bf_sk_ and are unique to your account.
Include your API key in the Authorization header of every request. Use the Bearer token format shown below.
curl -X GET https://api.Valorcy.com/v1/sites \ -H "Authorization: Bearer bf_sk_your_api_key_here" \ -H "Content-Type: application/json"
All API responses are returned in JSON format with consistent structure including data, meta pagination, and error details.
{
"data": [
{
"id": "site_abc123",
"name": "My Portfolio",
"domain": "myportfolio.com",
"status": "published",
"created_at": "2024-01-15T10:30:00Z"
}
],
"meta": {
"total": 1,
"page": 1,
"per_page": 25
}
}API authentication
Authorization: Bearer bf_sk_your_key
- Generate keys from your dashboard
- Full access to all permitted endpoints
- Rotate keys anytime for security
Authorization: Bearer {access_token}- Industry-standard OAuth 2.0 protocol
- Support for authorization code flow
- Token refresh and revocation support
API endpoints
Base URL: https://api.Valorcy.com
Sites
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/sites | Endpointlist Sites |
| GET | /v1/sites/:id | Endpointget Site |
| POST | /v1/sites | Endpointcreate Site |
| PATCH | /v1/sites/:id | Endpointupdate Site |
| DELETE | /v1/sites/:id | Endpointdelete Site |
Pages
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/sites/:id/pages | Endpointlist Pages |
| GET | /v1/sites/:id/pages/:pageId | Endpointget Page |
| POST | /v1/sites/:id/pages | Endpointcreate Page |
| PATCH | /v1/sites/:id/pages/:pageId | Endpointupdate Page |
| DELETE | /v1/sites/:id/pages/:pageId | Endpointdelete Page |
Forms
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/sites/:id/forms | Endpointlist Forms |
| GET | /v1/sites/:id/forms/:formId/submissions | Endpointlist Submissions |
| POST | /v1/sites/:id/forms/:formId/submissions | Endpointcreate Submission |
Analytics
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/sites/:id/analytics/visitors | Endpointvisitor Stats |
| GET | /v1/sites/:id/analytics/pages | Endpointpage Analytics |
| GET | /v1/sites/:id/analytics/referrers | Endpointreferrer Data |
Media
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/media | Endpointlist Media |
| POST | /v1/media/upload | Endpointupload File |
| DELETE | /v1/media/:fileId | Endpointdelete File |
Domains
| Method | Endpoint | Description |
|---|---|---|
| GET | /v1/domains | Endpointlist Domains |
| POST | /v1/domains | Endpointconnect Domain |
| DELETE | /v1/domains/:domainId | Endpointdisconnect Domain |
Rate limits
API rate limits ensure fair usage and platform stability. Limits reset on a rolling window basis.
| Plan | Requests | Window | Concurrent |
|---|---|---|---|
| Starter | 60 | per minute | 5 |
| Pro | 300 | per minute | 20 |
| Business | 1,000 | per minute | 50 |
| Enterprise | Custom | — | Custom |
Rate limit info is included in response headers: X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset.
Official SDKs
Accelerate your integration with our official SDKs. Each SDK handles authentication, retries, and type safety out of the box.
Frequently asked questions
Start building with the Valorcy API today
Get your free API key and start integrating in minutes. Comprehensive docs, SDKs, and support included.