Support

Ask for a proof-of-work challenge

Filing a request costs the sender something, and this is where that cost is set. Find a nonce such that sha256("<salt>.<nonce>") begins with bits zero bits, then send the challenge string back unchanged alongside your nonce. One challenge is one submission — a support request or a sign-in link. An anonymous Community report asks POST /v1/community/reports/challenge for its own, which answers while support is closed; the two are the same puzzle, and either is spent once. A POST rather than a GET because a cached challenge is one salt handed to everybody, which is the same as no challenge at all.

POST
/v1/support/challenge
POST
/v1/support/challenge
Ask for a proof-of-work challenge
Filing a request costs the sender something, and this is where that cost is set.
Authorizationstringrequired
Your API key. It is sent only when you press Send, to this request alone, and never stored.
Ask for a proof-of-work challenge
curl --request POST \
  --url 'https://api.auray.ai/v1/support/challenge' \
  --header 'Authorization: Bearer <api-key>'
  --header 'Content-Type: application/json' \
  --data '{
  
}'
{
  "challenge": "<string>",
  "salt": "<string>",
  "bits": 123,
  "expires_in": 123,
  "algorithm": "<string>"
}
Ask for a proof-of-work challenge
curl -X POST https://api.auray.ai/v1/support/challenge
{
  "challenge": "<string>",
  "salt": "<string>",
  "bits": 123,
  "expires_in": 123,
  "algorithm": "<string>"
}

Authorizations

No key needed — this document is public.

Response

application/json

OK

challengestring
Signed. Send it back byte for byte; any change is refused by one comparison.
saltstring
A convenience copy of the field inside challenge; the server reads the signed one.
bitsinteger
Leading zero bits required. Raised during an incident, so read it rather than assuming.
expires_ininteger
Seconds.
algorithmstring
One of "sha256-leading-zero-bits".

Headers:

HeaderDescription
RateLimit-LimitBurst capacity for the bucket that answered.
RateLimit-Remaining
RateLimit-ResetSeconds until refill.
X-Request-Id

Was this page helpful?

Ask for a proof-of-work challenge
curl -X POST https://api.auray.ai/v1/support/challenge
{
  "challenge": "<string>",
  "salt": "<string>",
  "bits": 123,
  "expires_in": 123,
  "algorithm": "<string>"
}

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close search.