Run an archived prompt again
curl --request POST \
--url https://api.seomator.com/v1/projects/{id}/prompts/{promptId}/reactivate \
--header 'x-api-key: <api-key>'const options = {method: 'POST', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.seomator.com/v1/projects/{id}/prompts/{promptId}/reactivate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.seomator.com/v1/projects/{id}/prompts/{promptId}/reactivate"
headers = {"x-api-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"prompt": {
"id": "<string>",
"projectId": "<string>",
"topicId": "<string>",
"text": "<string>",
"intent": "informational",
"branded": true,
"source": "suggested",
"status": "active",
"replacesPromptId": "<string>",
"createdAt": "<string>",
"archivedAt": "<string>"
}
}{
"error": {
"code": "bad_request",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "bad_request",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "bad_request",
"message": "<string>",
"requestId": "<string>"
}
}Run an archived prompt again
POST
/
v1
/
projects
/
{id}
/
prompts
/
{promptId}
/
reactivate
Run an archived prompt again
curl --request POST \
--url https://api.seomator.com/v1/projects/{id}/prompts/{promptId}/reactivate \
--header 'x-api-key: <api-key>'const options = {method: 'POST', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.seomator.com/v1/projects/{id}/prompts/{promptId}/reactivate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.seomator.com/v1/projects/{id}/prompts/{promptId}/reactivate"
headers = {"x-api-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"prompt": {
"id": "<string>",
"projectId": "<string>",
"topicId": "<string>",
"text": "<string>",
"intent": "informational",
"branded": true,
"source": "suggested",
"status": "active",
"replacesPromptId": "<string>",
"createdAt": "<string>",
"archivedAt": "<string>"
}
}{
"error": {
"code": "bad_request",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "bad_request",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "bad_request",
"message": "<string>",
"requestId": "<string>"
}
}