Ask Sites
Add an Ask site
Changed onRegister a website. The response holds the <meta> verification tag for the site's <head> and the hidden note for the top of <body>. Add both to the site, deploy, then call verify. Free teamspaces allow 3 sites; paid plans have no site limit. Owner or admin.
post/v2/teamspaces/{teamspaceId}/ask-sites
Request
- Base URLhttps://context7.com/api
- URLhttps://context7.com/api/v2/teamspaces/{teamspaceId}/ask-sites
- AuthHTTP bearer
Path parameters
teamspaceIdstring uuid required
Teamspace id (uuid).
Request body
Example request
{
"url": "https://docs.example.com"
}Response
The new site
Example response
{
"data": {
"siteKey": "ask_0123456789abcdef01234567",
"url": "https://docs.example.com",
"hostname": "docs.example.com",
"indexStatus": {
"library": {
"name": "/websites/docs_example_com"
}
},
"verificationTag": "<meta name=\"context7-site-verification\" content=\"ask_0123456789abcdef01234567\">",
"endpoint": "https://context7.com/api/v2/ask?siteKey=ask_0123456789abcdef01234567"
}
}Changes
- info
endpoint added
- info