API referencev1/subscribe
Start monthly or annual ViralQuery checkout — mints a key once paid
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/subscribe" \ -H "Content-Type: application/json" \ -d '{ "billingInterval": "monthly" }'{
"url": "string",
"claimToken": "string"
}{
"error": "invalid_request",
"message": "string",
"issues": [
{
"path": "string",
"message": "string"
}
]
}{
"error": "temporary_service_error",
"message": "string",
"retryable": true
}{
"error": "temporary_service_error",
"message": "string",
"retryable": true
}{
"error": "temporary_service_error",
"message": "string",
"retryable": true
}