Search documentation
Find instructions for a Shipmail task and link to the section that explains it.
Last updated
Request
GET
/v1/docs/searchAny API key can call this endpoint. It needs no scope.
qis required and must contain 1 to 200 characters after trimming whitespace.limitis 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=3Response
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
401without a valid API key.422if the query or limit is invalid.429when the key is over its read rate limit.503if 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.