Skip to documentation
Weavers Docs

Pages and endpoints

Tab to navigate · Enter to openEsc to close

POST /api/contact

Public access · HTTP API reference

All endpoints · Authentication and retries · Download OpenAPI

Request

No path, query or custom header parameters.

Body · application/json

name required · string
email required · string
subject required · string
message required · string

Example

Examples use fictional data. Replace identifiers with resources you can access. For account requests, cookies.txt must contain your own session; set CSRF_TOKEN to the matching CSRF cookie value where required.

Save as request.json
{
  "name": "Example research",
  "email": "developer@example.com",
  "subject": "example",
  "message": "Explain the data used in this research."
}
cURL (POSIX shell)
curl --include \
  --request POST \
  'https://api.weavers.app/api/contact' \
  --header 'Content-Type: application/json' \
  --data-binary @request.json

Responses

200 · Successful response.

application/json

200 example · synthetic data
{
  "success": false,
  "message": "Explain the data used in this research."
}
View response model
success required · boolean
message required · string

Additional fields: JSON values.

400 · Invalid request.

application/json

400 example · synthetic data
{
  "error": "example"
}
View response model
Variant 1: object
error required · string

Additional fields: JSON values.

429 · Rate limit reached; honor Retry-After when supplied.

application/json

429 example · synthetic data
{}
View response model

Error envelopes can include resource-specific details. Check the status before reading these fields.

error optional · string
code optional · string
message optional · string

Additional fields: JSON values.

500 · Server failure.

application/json

500 example · synthetic data
{
  "error": "example"
}
View response model
Variant 1: object
error required · string

Additional fields: JSON values.