Skip to main content
Developer Docs

API & Webhooks
Documentation

Integrate Ascend with your custom workflows. Build apps, automate processes, and extend functionality with our REST API.

REST API
JSON format
Webhook events

Overview

The Ascend API allows you to programmatically access and manage your content. You can create briefs, generate articles, publish to CMS platforms, and more. Webhooks enable real-time notifications when events occur in your account.

Base URL

https://api.ascend.deals/v1

Authentication

All API requests require authentication using an API key. Include your API key in the Authorization header of each request.

Keep your API key secure

Your API key provides full access to your account. Never share it or commit it to public repositories.

Authorization Header
Authorization: Bearer asc_live_xxxxxxxxxxxxxxxx

API Endpoints

Here are the main endpoints available in the Ascend API:

GET/api/v1/briefsList all briefs for the authenticated user
POST/api/v1/briefsCreate a new SEO brief
GET/api/v1/briefs/{id}Get a specific brief by ID
GET/api/v1/articlesList all articles
POST/api/v1/articlesGenerate a new article from a brief
POST/api/v1/publishPublish an article to connected CMS

Full API reference with request/response schemas coming soon. Contact support for detailed documentation.

Webhooks

Webhooks allow you to receive real-time notifications when events occur in your Ascend account. Configure webhook URLs in your settings to receive POST requests when specific events happen.

Available Events

brief.created

Triggered when a new brief is generated

{ brief_id, keyword, created_at, user_id }
article.generated

Triggered when an article finishes generating

{ article_id, brief_id, status, word_count }
article.published

Triggered when content is published to a CMS

{ article_id, platform, url, published_at }
article.scheduled

Triggered when content is scheduled

{ article_id, scheduled_at, timezone }

Rate Limits

To ensure fair usage, API requests are rate limited. Limits vary by plan:

Trial Plan

  • • 100 requests per hour
  • • 5 brief generations per day
  • • Limited API endpoints

Pro Plan

  • • 1,000 requests per hour
  • • Unlimited brief generations
  • • Full API access
  • • Priority support

Code Examples

cURL
curl -X GET "https://api.ascend.deals/v1/briefs" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
JavaScript
const response = await fetch('https://api.ascend.deals/v1/briefs', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  }
});

const briefs = await response.json();
Python
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
}

response = requests.get(
    'https://api.ascend.deals/v1/briefs',
    headers=headers
)

briefs = response.json()

Error Handling

The API returns standard HTTP status codes and JSON error responses:

200
SuccessRequest was successful
400
Bad RequestInvalid request parameters
401
UnauthorizedInvalid or missing API key
404
Not FoundResource doesn't exist
429
Too Many RequestsRate limit exceeded
500
Server ErrorSomething went wrong on our end

Frequently Asked Questions

Do I need a special plan to use the API?
API access is available on all Ascend plans. However, rate limits vary by plan. Free trial users have limited access, while Pro plans get higher rate limits and priority API support.
Is the API rate limited?
Yes, API requests are rate limited to ensure fair usage. Pro plans get 1,000 requests per hour, while trial accounts are limited to 100 requests per hour. Contact us if you need higher limits.
Can I use webhooks with Zapier?
Yes, you can use Ascend webhooks with Zapier by using the 'Webhooks by Zapier' trigger. Simply paste your Zapier webhook URL into Ascend's webhook settings.
How do I handle API errors?
Always check the HTTP status code. 200 means success, 4xx errors indicate client issues (check your request), and 5xx errors are server-side (try again later). See the Error Handling section for details.

Was this guide helpful?

Your feedback helps us improve our documentation.

Quick Start Guide

New to Ascend? Get up and running in under 5 minutes.

Get Started