Create Site
Create a new site to organize forms by website or client.
sites.create
POST
/v1/sitesRequest Body
| Parameter | Type | Description |
|---|---|---|
| name* | string | Site name (max 255 chars) |
| domain | string | Domain name (e.g., example.com) |
| notes | string | Internal notes |
| notificationEmail | string | Default notification email for this site |
| timezone | string | Timezone (default: America/Denver) |
| emailFromName | string | Default sender name for notifications |
| emailReplyTo | string | Default reply-to email |
| emailRecipients | string | Default notification recipients (JSON array) |
| emailCc | string | Default CC addresses |
| emailBcc | string | Default BCC addresses |
| referencePrefix | string | Short prefix for submission IDs (max 4 chars, e.g., "MW") |
Example Request
curl
curl -X POST "https://proforms.io/api/v1/sites" \
-H "Authorization: Bearer pf_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"name": "Client Website",
"domain": "clientsite.com",
"notificationEmail": "leads@clientsite.com",
"timezone": "America/Denver",
"referencePrefix": "CW"
}'Response
200 OK
{
"success": true,
"data": {
"id": "s_new123",
"name": "Client Website",
"domain": "clientsite.com",
"status": "active",
"createdAt": "2026-02-17T11:00:00.000Z"
}
}