MisarMisar Docs
MisarMailMisarBlogMisarReachMisarPostMisarDevMisarCoderMisarSEOMisar PlatformMisar SSO
API Reference

Account

GET /seo/account/export and DELETE /seo/account/delete — data portability and irreversible account deletion.

The two GDPR endpoints for a MisarSEO account. Both act on the authenticated caller only.

Export account data

GET/seo/account/export

Returns a full JSON export of the account as a file download. Takes no parameters.

Response headers

Content-Disposition: attachment; filename="misarseo-data-export-YYYY-MM-DD.json"
Cache-Control: no-store
Request
curl -OJ https://api.misar.io/seo/account/export \
  -H "Authorization: Bearer $MISARSEO_API_KEY"

Rate limit: 5 requests per 60 s.

Delete account

DELETE/seo/account/delete

Permanently deletes the account and its data. POST is accepted as an alias for clients that cannot send a DELETE with a body.

Request body — required

confirmstringbodyrequired

Must be exactly the string "DELETE". Any other value, or a missing or unparseable body, is rejected.

Response fields

successboolean

true when the account was deleted. Additional summary fields are included alongside it.

Request
curl -X DELETE https://api.misar.io/seo/account/delete \
  -H "Authorization: Bearer $MISARSEO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "confirm": "DELETE" }'
200 — Deleted
{ "success": true }
400 — Not confirmed
{
  "error": "Confirmation required. Send { \"confirm\": \"DELETE\" }.",
  "code": "VALIDATION_ERROR"
}

Rate limit: 3 requests per hour.

Irreversible

Deletion cannot be undone. Export first with GET /seo/account/export if the data matters. The confirmation string is the literal "DELETE"true, "delete", and "yes" are all rejected.

Status codes

CodeMeaning
200Export returned, or account deleted
400VALIDATION_ERROR — the confirmation string was missing or wrong
401UNAUTHENTICATED
429RATE_LIMITED — 5 exports/minute, 3 deletions/hour
  • Authentication — API key management, which is a separate surface at /api/keys