Browse all documentation

Unarchive question

Restore a question to future scans, subject to account capacity. Already active questions remain unchanged.

POST/api/v1/brands/{brandId}/questions/{questionId}/unarchivewrite

This operation is available through REST only.

Request details

Required scope: A valid write token.

Request example
curl --request POST \
  --url "https://searchseal.com/api/v1/brands/b7e4c2a0-5d1f-4c8e-9a3b-2f6d8e1c4a70/questions/e3a9d1e2-7b4c-4f60-8e2a-9c1d5b7f3e21/unarchive" \
  --header "Authorization: Bearer $SEARCHSEAL_TOKEN"

Request parameters

NameLocationRequiredTypeDescription
brandIdpathYesuuidAn active brand ID returned by the brand list.
questionIdpathYesuuidUnique identifier for the question.

Response fields

Response body example
{
  "id": "e3a9d1e2-7b4c-4f60-8e2a-9c1d5b7f3e21",
  "text": "best boutique hotel in ubud",
  "originalText": null,
  "country": "us",
  "language": "en",
  "status": "active",
  "createdAt": "2026-08-02T03:11:45.000Z",
  "meta": {
    "generatedAt": "2026-09-26T08:15:02.114Z",
    "timeZone": "Asia/Jakarta"
  }
}
FieldTypeDescription
…QuestionUpdated question record with status: "active".

Successful REST responses from this endpoint include the shown meta fields. Read about data-through dates.

Possible errors

  • 400 invalid_request — An input failed validation. Field details may appear in errors.
  • 401 unauthorized — Authentication failed because the token is absent, unrecognized or revoked.
  • 403 forbidden — Account access or token permissions do not allow this request. Check the message for the cause.
  • 404 not_found — The resource is missing or unavailable to this account, including inactive brands.
  • 409 limit_reached — The account’s active-question capacity is exhausted.
  • 429 rate_limited — A quota was reached or could not be checked. Wait the Retry-After delay before retrying.
  • 500 server_error — The server failed to complete the operation.

For the shared error format, see status codes, quotas and retries. Next endpoint: List answers.