Make a shareable report page
https://seolyticize.com /api/v1/tools/create_report_link A signed, expiring, read-only link to one of a client's saved reports (from list_reports) as a web page under the agency's own branding, plus downloadUrl for the same report as a self-contained HTML file. Answers 'send the client a link to the report' or 'give me the report as HTML'. Covers the last periodDays days (default 30) as of now, fixed: the page does not change as time passes. Anyone holding the link can read it until it expires (expiresInDays, default 14, at most 90), so only make one when the user asks. The url is shown only in this answer and is never stored; linkId names it for list_report_links and revoke_report_link. revoke_report_links turns every earlier link off. Free.
Parameters
Idempotency-KeystringheaderRequest body
application/json
clientIdstringrequiredreportIdstringrequiredexpiresInDaysintegerperiodDaysinteger{
"clientId": "string",
"reportId": "string",
"expiresInDays": 14,
"periodDays": 30
}Code samples
cURL
curl -X POST "https://seolyticize.com/api/v1/tools/create_report_link" \
-H "Authorization: Bearer $SEOLYTICIZE_API_KEY" \
-H "Idempotency-Key: <value>" \
-H "Content-Type: application/json" \
-d '{"clientId":"string","reportId":"string","expiresInDays":14,"periodDays":30}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
data, and its meta.Example
{
"data": {},
"meta": {
"requestId": "string",
"costMicros": 0,
"cached": true,
"cachedFrom": "string",
"dataAsOf": "string",
"sources": [
"string"
],
"partial": true,
"next": [
{
"tool": "string",
"args": {},
"why": "string"
}
],
"nextCursor": "string",
"dryRun": true
}
}Schema
datarequiredmetaobjectrequiredShow child parameters
requestIdstringrequiredcostMicrosintegerrequiredcachedbooleanrequiredcachedFromstringdataAsOfstringsourcesstring[]partialbooleanrequirednextobject[]requiredShow child parameters
toolstringargsobjectwhystringnextCursorstringdryRunbooleanX-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerX-Request-IdstringExample
{
"error": "string",
"code": "string",
"next": "string",
"requestId": "string"
}Schema
errorstringrequiredcodestringnextstringrequestIdstringX-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/create_report_link
WWW-AuthenticatestringSame as 400 · POST /api/v1/tools/create_report_link
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/create_report_link
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/create_report_link
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/create_report_link
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/create_report_link
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerRetry-AfterintegerSame as 400 · POST /api/v1/tools/create_report_link
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-Resetinteger