NessFlow Campaigns API
Reusable crawl configurations and their schedule.
Reusable crawl configurations and their schedule.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/nessflow-com:nessflow-com-campaigns-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: NessFlow Campaigns API
version: 1.0.0
summary: Drive your NessFlow SEO audits programmatically.
description: 'The NessFlow API lets a team drive what its members drive on screen:
projects, campaigns, crawls and their results, under the same rules and the
same plan limits.
Every request is authenticated by a bearer token that belongs to a team
member and is restricted to one team. Errors follow RFC 9457
(`application/problem+json`) and carry a stable `code`.'
servers:
- url: https://api.nessflow.com/v1
description: Production
security:
- bearerToken: []
tags:
- name: Campaigns
description: Reusable crawl configurations and their schedule.
paths:
/projects/{project}/campaigns:
parameters:
- $ref: '#/components/parameters/ProjectId'
get:
operationId: listProjectCampaigns
tags:
- Campaigns
summary: List the campaigns of a project
description: Reusable crawl configurations and their schedule, newest first.
x-ratelimit-cost: 1
x-required-scopes:
- projects:read
parameters:
- $ref: '#/components/parameters/Cursor'
- $ref: '#/components/parameters/Limit'
responses:
'200':
description: OK.
content:
application/json:
schema:
type: object
additionalProperties: false
required:
- data
- meta
properties:
data:
type: array
items:
$ref: '#/components/schemas/Campaign'
meta:
$ref: '#/components/schemas/ListMeta'
'400':
$ref: '#/components/responses/BadRequest'
'422':
$ref: '#/components/responses/ValidationFailed'
'401':
$ref: '#/components/responses/Unauthenticated'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
post:
operationId: createCampaign
tags:
- Campaigns
summary: Create a campaign
description: 'Same validation and plan bounds as the product (URL budget, JavaScript
rendering, schedule frequencies). Unknown fields are refused, never ignored.'
x-ratelimit-cost: 1
x-required-scopes:
- projects:write
x-idempotency: optional
parameters:
- $ref: '#/components/parameters/IdempotencyKey'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CampaignCreate'
responses:
'201':
description: OK.
headers:
Location:
description: URL of the resource to read or poll.
schema:
type: string
content:
application/json:
schema:
type: object
additionalProperties: false
required:
- data
properties:
data:
$ref: '#/components/schemas/Campaign'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthenticated'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'409':
$ref: '#/components/responses/Conflict'
'422':
$ref: '#/components/responses/ValidationFailed'
'429':
$ref: '#/components/responses/RateLimited'
/campaigns/{campaign}:
parameters:
- $ref: '#/components/parameters/CampaignId'
get:
operationId: getCampaign
tags:
- Campaigns
summary: Get a campaign
description: A crawl configuration and its schedule. HTTP credentials are never returned.
x-ratelimit-cost: 1
x-required-scopes:
- projects:read
responses:
'200':
description: OK.
content:
application/json:
schema:
type: object
additionalProperties: false
required:
- data
properties:
data:
$ref: '#/components/schemas/Campaign'
'401':
$ref: '#/components/responses/Unauthenticated'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
patch:
operationId: updateCampaign
tags:
- Campaigns
summary: Update a campaign
description: 'Partial update: absent fields keep their value. The HTTP password stays unchanged when absent.'
x-ratelimit-cost: 1
x-required-scopes:
- projects:write
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CampaignWrite'
responses:
'200':
description: OK.
content:
application/json:
schema:
type: object
additionalProperties: false
required:
- data
properties:
data:
$ref: '#/components/schemas/Campaign'
'401':
$ref: '#/components/responses/Unauthenticated'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'422':
$ref: '#/components/responses/ValidationFailed'
'429':
$ref: '#/components/responses/RateLimited'
delete:
operationId: deleteCampaign
tags:
- Campaigns
summary: Delete a campaign
description: Deletes the campaign and its crawls. A running crawl of the campaign is stopped first.
x-ratelimit-cost: 1
x-required-scopes:
- projects:write
responses:
'204':
description: Deleted.
'401':
$ref: '#/components/responses/Unauthenticated'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
components:
parameters:
Cursor:
name: cursor
in: query
description: Opaque cursor from `meta.next_cursor`. It is bound to the request that issued it; reusing it with other filters returns `400 pagination.invalid_cursor`.
schema:
type: string
IdempotencyKey:
name: Idempotency-Key
in: header
description: Unique key for this write; a retry with the same key and body returns the first response (`Idempotent-Replayed` header).
schema:
type: string
maxLength: 255
Limit:
name: limit
in: query
description: Items per page, 1 to 100 (default 25).
schema:
type: integer
minimum: 1
maximum: 100
ProjectId:
name: project
in: path
required: true
schema:
type: string
format: uuid
CampaignId:
name: campaign
in: path
required: true
schema:
type: string
format: uuid
responses:
Forbidden:
description: 'The plan does not include the API (`api.not_in_plan`) or this verb
(`api.write_not_in_plan`), or the token lacks a scope
(`token.missing_scope`).
'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
Unauthenticated:
description: Missing, invalid or expired token, or a member who left the team.
headers:
WWW-Authenticate:
schema:
type: string
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
NotFound:
description: No such resource for the token's team. Resources of another team answer 404 as well, never 403.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
BadRequest:
description: Malformed request, such as an invalid pagination cursor (`pagination.invalid_cursor`).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
ValidationFailed:
description: Invalid query or body values (`validation_failed`), with `errors` by field.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
Conflict:
description: The request conflicts with the current state (a crawl already running, an idempotency key in use, a project not ready).
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
RateLimited:
description: The plan rate limit is exhausted for one window.
headers:
Retry-After:
description: Seconds until the exhausted window resets.
schema:
type: integer
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
schemas:
CampaignCreate:
type: object
additionalProperties: false
description: On creation, `name`, `start_url`, `max_depth` and `max_urls` are required; booleans default to `false`, the schedule to `manual`.
required:
- name
- start_url
- max_depth
- max_urls
properties:
name:
type: string
start_url:
type: string
max_depth:
type: integer
minimum: 1
maximum: 10
max_urls:
type: integer
minimum: 1
maximum: 50000
javascript_rendering:
type: boolean
pagespeed:
type: boolean
check_external_links:
type: boolean
check_ai_reachability:
type: boolean
check_accessibility:
type: boolean
check_accessibility_rendered:
type: boolean
include_patterns:
type:
- string
- 'null'
exclude_patterns:
type:
- string
- 'null'
issue_exclusion_patterns:
type:
- string
- 'null'
timeout:
type:
- integer
- 'null'
retries:
type:
- integer
- 'null'
duplication_threshold:
type:
- number
- 'null'
regression_threshold:
type: string
enum:
- 'off'
- warning
- error
protected_site:
type: boolean
http_user:
type:
- string
- 'null'
http_password:
type:
- string
- 'null'
writeOnly: true
notify:
type: boolean
schedule:
type: object
additionalProperties: false
properties:
frequency:
type: string
enum:
- manual
- daily
- weekly
- monthly
day:
description: Weekday name (weekly) or day of month (monthly).
type:
- string
- integer
- 'null'
time:
type:
- string
- 'null'
description: HH:MM in the team time zone.
CampaignWrite:
type: object
additionalProperties: false
description: On creation, `name`, `start_url`, `max_depth` and `max_urls` are required; booleans default to `false`, the schedule to `manual`.
properties:
name:
type: string
start_url:
type: string
max_depth:
type: integer
minimum: 1
maximum: 10
max_urls:
type: integer
minimum: 1
maximum: 50000
javascript_rendering:
type: boolean
pagespeed:
type: boolean
check_external_links:
type: boolean
check_ai_reachability:
type: boolean
check_accessibility:
type: boolean
check_accessibility_rendered:
type: boolean
include_patterns:
type:
- string
- 'null'
exclude_patterns:
type:
- string
- 'null'
issue_exclusion_patterns:
type:
- string
- 'null'
timeout:
type:
- integer
- 'null'
retries:
type:
- integer
- 'null'
duplication_threshold:
type:
- number
- 'null'
regression_threshold:
type: string
enum:
- 'off'
- warning
- error
protected_site:
type: boolean
http_user:
type:
- string
- 'null'
http_password:
type:
- string
- 'null'
writeOnly: true
notify:
type: boolean
schedule:
type: object
additionalProperties: false
properties:
frequency:
type: string
enum:
- manual
- daily
- weekly
- monthly
day:
description: Weekday name (weekly) or day of month (monthly).
type:
- string
- integer
- 'null'
time:
type:
- string
- 'null'
description: HH:MM in the team time zone.
Campaign:
type: object
additionalProperties: false
required:
- id
- project_id
- name
- start_url
- max_depth
- max_urls
- javascript_rendering
- pagespeed
- check_external_links
- check_ai_reachability
- check_accessibility
- protected_site
- schedule
- created_at
properties:
id:
type: string
format: uuid
project_id:
type: string
format: uuid
name:
type: string
start_url:
type: string
max_depth:
type:
- integer
- 'null'
max_urls:
type:
- integer
- 'null'
javascript_rendering:
type: boolean
pagespeed:
type: boolean
check_external_links:
type: boolean
check_ai_reachability:
type: boolean
check_accessibility:
type: boolean
protected_site:
type: boolean
description: The site sits behind HTTP authentication. Credentials are never returned.
schedule:
type: object
additionalProperties: false
required:
- frequency
- day
- time
- paused
- next_run_at
properties:
frequency:
type: string
enum:
- manual
- daily
- weekly
- monthly
day:
type:
- string
- 'null'
time:
type:
- string
- 'null'
paused:
type: boolean
next_run_at:
type:
- string
- 'null'
format: date-time
created_at:
type:
- string
- 'null'
format: date-time
Problem:
type: object
description: 'RFC 9457 problem details. Clients key on `code`, which is stable;
`title` is translated (`Accept-Language`) and may be reworded.
'
required:
- type
- title
- status
- code
properties:
type:
type: string
format: uri
description: URL of the documentation page of this error code.
title:
type: string
status:
type: integer
code:
type: string
examples:
- unauthenticated
- rate_limited
- plan_limit.projects.max
detail:
type: string
entitlement:
type: string
description: The plan entitlement that refused the request.
upgrade_to:
type:
- string
- 'null'
description: The cheapest plan that would lift the refusal, if any.
window:
type:
- string
- 'null'
enum:
- minute
- day
- null
retry_after:
type:
- integer
- 'null'
required_scopes:
type: array
items:
type: string
header:
type: string
description: The request header the problem is about (`Idempotency-Key`).
active_crawl_id:
type:
- string
- 'null'
format: uuid
description: The crawl already running for the team (`crawl.already_running`).
limit:
type: integer
description: The per-project ceiling (`keywords.project_limit`).
remaining:
type: integer
description: Slots still free under that ceiling (`keywords.project_limit`).
errors:
type: object
additionalProperties:
type: array
items:
type: string
additionalProperties: false
ListMeta:
type: object
additionalProperties: false
required:
- limit
- has_more
- next_cursor
description: There is no total count, by design.
properties:
limit:
type: integer
has_more:
type: boolean
next_cursor:
type:
- string
- 'null'
securitySchemes:
bearerToken:
type: http
scheme: bearer
description: 'A team API token, created from the team settings. Tokens start with
`nf_`, are shown once, and expire (90 days by default).
'