Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
The 50 most recent campaigns in the workspace, newest first.
cURL
curl --request GET \ --url https://api.revcenter.ai/api/campaigns \ --cookie session=
const options = {method: 'GET', headers: {cookie: 'session='}}; fetch('https://api.revcenter.ai/api/campaigns', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
import requests url = "https://api.revcenter.ai/api/campaigns" headers = {"cookie": "session="} response = requests.get(url, headers=headers) print(response.text)
{ "campaigns": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "provider": "smartlead", "name": "<string>", "status": "publishing", "leads_pushed": 123, "external_campaign_id": "<string>", "error": "<string>", "created_at": "2023-11-07T05:31:56Z" } ] }
{ "error": "Sign in required" }
{ "error": "Spec extraction failed" }
A signed-in workspace session, sent as a browser cookie. Requests must include credentials, and act on the session's active workspace.
Recent campaigns.
Show child attributes