# Submit a theme to Specwall

Specwall lists themes built on UI SDK. Creators can use the [submission form](/submit/) or ask an agent to send the details below. A maintainer reviews each proposal before adding it to the gallery.

## Send a proposal

Use `POST /api/submissions` on the same origin as this guide with `Content-Type: application/json`. The public endpoint accepts requests without a sign-in or token. Use the creator’s own account of why they built the theme. Ask them for any missing required details and omit unknown optional fields.

| Required field | What to send | Max length |
| --- | --- | ---: |
| `name` | Theme name as it should appear in the gallery | 80 |
| `website` | Main public link for the project, demo, or repository | 2048 |
| `description` | One or two sentences describing what the theme looks like or does | 400 |
| `motivation` | Why the creator made it, in their own words | 1000 |
| `xUsername` | Creator’s X handle, with or without the leading @ | 15, excluding @ |

| Optional field | What to send | Max length |
| --- | --- | ---: |
| `announcementUrl` | Link to the announcement post on X or Twitter | 2048 |
| `creatorName` | Display name to use for the credit | 80 |
| `sourceUrl` | Public source repository | 2048 |
| `docsUrl` | Documentation or installation guide | 2048 |
| `previewUrl` | Link to a screenshot, video, or interactive preview | 2048 |
| `license` | Published license name or identifier | 100 |
| `details` | Other listing details, such as styles, standout controls, availability, supported frameworks, or how to install it | 2000 |

Send plain strings. Include the scheme in all URLs. Use public links the maintainer can open.

## Example

The production endpoint is `https://specwall.dev/api/submissions`. Replace the example values with the creator’s details.

```json
{
  "name": "Field Notes",
  "website": "https://example.com/field-notes",
  "description": "A paper-and-ink theme with ruled text fields and margin-note toggles.",
  "motivation": "I wanted the daily log in my hiking app to feel like the notebook I carry on the trail.",
  "xUsername": "@example",
  "creatorName": "River",
  "license": "MIT"
}
```

Save the completed object to `theme.json`, then send it.

```sh
curl --json @theme.json https://specwall.dev/api/submissions
```

## Receipt

A successful submission returns HTTP 201 with `{"id":"…","status":"received"}`. Give the receipt ID to the creator. Retrying the identical proposal returns HTTP 200 with the same receipt. A receipt confirms the proposal is in the review queue.

On a validation error, use the `fields` object in the response to correct the named entries. A 409 means a proposal with different details already exists for the same project link. For a connection failure or temporary service error, retry with the original body. If the endpoint returns 429, wait for the interval in the `Retry-After` header.
