Skip to content

ConceptsSearch documentation

Search documentation

Find instructions for a Shipmail task and link to the section that explains it.

Last updated

Request

GET/v1/docs/search

Any API key can call this endpoint. It needs no scope.

  • q is required and must contain 1 to 200 characters after trimming whitespace.
  • limit is optional. Use an integer from 1 to 10. The default is 5.
curl -G https://shipmail.to/api/v1/docs/search \
  -H "Authorization: Bearer $SHIPMAIL_API_KEY" \
  --data-urlencode "q=verify a domain" -d limit=3

Response

Results are in relevance order. Each result includes the page title, the section text, and an absolute URL. The heading is null for a page introduction.

{
  "object": "list",
  "data": [
    {
      "object": "docs_result",
      "title": "Domains",
      "heading": "Verify a domain",
      "url": "https://shipmail.to/docs/api/domains#verify-a-domain",
      "text": "Trigger a DNS verification check for a domain."
    }
  ]
}

If no sections match, data is empty. Successful responses can be cached for five minutes.

Errors

  • 401 without a valid API key.
  • 422 if the query or limit is invalid.
  • 429 when the key is over its read rate limit.
  • 503 if the search index is temporarily unavailable.

Search from MCP

Call shipmail_search_docs with a query and optional limit. Cite the URL of the section you used.