Every API here is available over the APIs.io API and to AI agents over MCP.
openapi: 3.2.0
info:
title: HookPulse Partners API
version: 9f4f73b5
description: Monitor scheduled tasks and receive alerts for missing check-ins. Read GET /api/ for the API index.
servers:
- url: https://hookpulse.net
tags:
- name: Partners
paths:
/api/partners:
get:
operationId: get_api_partners
summary: 'Fixed-price advertising: placements, duration, public numbers and checkout.'
description: 'Four packages priced in USD per week, one-off or weekly subscription. Includes placements, sponsors and measured audience. Submission with payment, adjustments and results at /conta/publicidade, also in the profile menu. Review notices link from the verified account email. GET modalidade=pedido requires a human session: list your proposals (after=next) or read id; relatorio_depois pages daily results. GET modalidade=pendencias requires the same session and returns acao_pendente for a submitted campaign whose payment did not finish or a paid campaign with changes requested. GET modalidade=arte&id serves the private binary image, public only during a paid published campaign. Private responses never use public caching. The weekly catalogue is cached for 1 minute. Negotiation and partnerships use the contact form.
Returns: { status, produto, idioma, titulo, descricao, publico, modalidades, placements, packages, house_bundle, parcerias, current_sponsors, stats, payment, contact, politica, _links }'
security: []
responses:
'200':
description: '{ status, produto, idioma, titulo, descricao, publico, modalidades, placements, packages, house_bundle, parcerias, current_sponsors, stats, payment, contact, politica, _links }'
content:
application/json:
schema:
type: object
properties:
status:
type: string
description: '`preco_fechado`: priced spaces can be purchased; other offers require negotiation.'
produto:
type: string
description: Product name.
idioma:
type: string
description: Language of the texts (the product's).
titulo:
type: string
description: Title of the offer.
descricao:
type: string
description: One sentence about the offer.
publico:
type: string
description: Who uses the product — the audience a sponsor reaches.
modalidades:
type: array
items:
type: object
description: '`{ id, nome }`: patrocinio, parceria, anuncio.'
placements:
type: array
items:
type: object
description: 'Package channels: id, nome, onde, formato, medicao and disponivel. Legacy monthly price is null in the weekly catalogue.'
packages:
type: array
items:
type: object
description: 'Four packages: id, nome, assinatura, preco_usd_semana, espacos, canais and allowed periods in exposicao[{dias,preco}].'
house_bundle:
type: object
description: 'Unavailable in the weekly catalogue: `{disponivel:false}`.'
parcerias:
type: array
items:
type: string
description: Partnership ideas the product is open to discuss.
current_sponsors:
type: array
items:
type: object
description: 'Sponsors in effect: `id`, `nome`, `url`, `frase`, `espacos`, `ate`.'
stats:
type: object
description: 'Excerpt of the public numbers (`hoje`, `janelas`, `agentes`, `confiabilidade`) and the `link` to `/api/vitrine`; `publicado: false` before the first publication.'
payment:
type: object
description: Shared payment through the purchase POST. Wallet fields remain for compatibility; do not send a manual payment before the quote.
contact:
type: object
description: '`email`, `form_url`, `api_url` (`POST /api/contact`: free via the website form; API calls require an account API key or OAuth token; one message every 10 s per network), `campos` (required), `campos_proposta` (the optional proposal fields, each with its accepted values), `message_template`, `instructions`.'
politica:
type: object
description: 'Placement label, refused sectors, prepayment with review after it (`aprovacao_antes_pagamento: false`), credit back on refusal (`recusa_devolve_credito`), deadlines.'
_links:
type: object
description: '`self`, `stats`, `page` (`null` until the page exists), `contact`, `casa` (the same path on the ten products).'
required:
- status
- produto
- idioma
- titulo
- descricao
- publico
- modalidades
- placements
- packages
- house_bundle
- parcerias
- current_sponsors
- stats
- payment
- contact
- politica
- _links
tags:
- Partners
post:
operationId: post_api_partners
summary: Submit and pay for an ad package; the team reviews the paid campaign before it…
description: 'Human account session and same-origin CSRF required. Submit complete creative and terms with modalidade=proposta: one private binary is stored for the account, without charge or inventory reservation. Then pay that exact version. One-off: omit modalidade and send only {id,aprovacao:versao}; shared 402 quote and payment, no renewal. modalidade=assinatura adds the native assinatura body with explicit weekly renewal acceptance. Current BRL offers: /api/credito/assinaturas/ofertas. The team then reviews the paid campaign in /adm and publishes it, asks for changes or declines it. When changes are requested, POST modalidade=ajuste with {id,versao,nome,frase,url,direitos:true} and an optional new arte; there is no new charge. A declined campaign gets the amount paid back as credit in the account wallet, once, and its weekly renewal is cancelled; money back stays available through the refund policy. Notices go to the verified account email with a link to /conta/publicidade?pedido=ID. Read your campaign with GET modalidade=pedido&id=ID on any device. Cancel future charges in the account. modalidade=recibo reads your paid campaign receipt. The period begins on publication. Identical retries do not charge twice. Custom campaigns and free partnerships use POST /api/contact.
Returns: { id, estado, recibo, versao, devolvido_usd, arte }'
security:
- bearerAuth: []
parameters:
- name: '0'
in: query
required: false
schema:
type: string
description: proposta submits; omit to pay the submitted version one-off; assinatura uses native weekly card billing; ajuste resubmits a paid campaign after changes were requested; recibo reads the account's campaign receipt.
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
id:
type: string
description: 'Fresh random order id: 32 lowercase hexadecimal characters. Reuse for retries.'
token:
type: string
description: 'Required only to submit a proposal: 64 random lowercase hexadecimal characters, reused for an identical retry. Account login remains mandatory for private access.'
espaco:
type: array
items:
type: string
description: Legacy paid-order retry only. New purchases select a package.
pacote:
type: string
description: One of the four package ids in GET /api/partners packages.
duracao:
type: integer
description: Days from the package exposure list. Weekly subscriptions require 7.
modalidade:
type: string
description: 'Required in the proposal body: avulso or assinatura. The approved mode is bound to the creative hash.'
enum:
- avulso
- assinatura
aprovacao:
type: string
description: 'One-off payment: send only id and the 64-character versao returned by the proposal. The payment covers that exact version; no image is uploaded again.'
versao:
type: string
description: 'modalidade=ajuste: the exact current versao of your paid campaign with changes requested.'
assinatura:
type: object
description: 'Only with modalidade=assinatura: the native subscription body with recurso=publicidade:ORDER_ID, simulado, cartao and explicit renewal aceite. The authenticated account must own the campaign.'
pedido:
type: string
description: 'Only with modalidade=recibo: the campaign id owned by the signed-in account.'
nome:
type: string
description: Brand or product, up to 80 characters.
email:
type: string
description: Contact email.
url:
type: string
description: HTTPS destination URL.
frase:
type: string
description: Ad copy, up to 100 characters.
arte:
type: string
description: 'Base64 image bytes, without a data URL prefix. PNG, JPEG or WebP, up to 2 MB. Optional in modalidade=ajuste: omit it to keep the current image.'
direitos:
type: boolean
description: true confirms the right to use the image and content.
required:
- id
responses:
'200':
description: '{ id, estado, recibo, versao, devolvido_usd, arte }'
content:
application/json:
schema:
type: object
properties:
id:
type: string
description: Order id.
estado:
type: string
description: 'proposta: submitted, payment not finished; pagamento or assinatura: payment in progress; revisao: paid, in team review; ajuste: paid, changes requested; publicado: live in its paid period; recusado: declined, amount returned as account credit; estornado: payment refunded.'
recibo:
type: string
description: Verified payment receipt.
versao:
type: string
description: Current campaign fingerprint. An adjustment creates a new one.
devolvido_usd:
type: number
description: Amount returned as account credit after a decline; null otherwise.
arte:
type: string
description: Private binary URL; access requires the owning account or factor-protected owner until publication.
required:
- id
- estado
- recibo
- versao
- devolvido_usd
- arte
'400':
description: Invalid order or artwork.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'401':
description: A human account session is required.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'402':
description: Payment required.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'403':
description: Invalid origin or CSRF.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'409':
description: Stored proposal required, space occupied, order changed or the action does not fit the campaign state.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'503':
description: Checkout unavailable.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
tags:
- Partners
components:
schemas:
ProblemDetails:
type: object
description: RFC 9457 Problem Details error response (`application/problem+json`). Includes stable `code` and backward-compatible `error` and `message` fields; route-specific extension fields (such as `accepts`, `allow`, `retry_after`, or `request_id`) may also be present.
required:
- type
- title
- status
- detail
- instance
- code
properties:
type:
type: string
format: uri
description: URI identifying the problem type, linking to `/errors#<code>` on this host.
title:
type: string
description: Short human-readable summary of the problem type.
status:
type: integer
description: HTTP status code generated for this occurrence.
detail:
type: string
description: Human-readable explanation specific to this occurrence.
instance:
type: string
description: Request path where the error occurred (without query parameters).
code:
type: string
description: Stable machine-readable snake_case error code documented at `/errors`.
error:
type: string
description: Backward-compatible alias of `code` (or protocol reason on x402 402 responses).
message:
type: string
description: Backward-compatible alias of `detail`.
additionalProperties: true
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'Guest token returned by monitor creation or `POST /api/guest`, in `X-Guest-Token: hp_…` or `Authorization: Bearer hp_…`. A signed-in account (cookie) also works and takes precedence.'
globalAccount:
type: apiKey
in: cookie
name: __Host-mm-auth
description: Global session in the product's HttpOnly cookie; writes require exact Origin and X-CSRF-Token.
contaChaveApi:
type: http
scheme: bearer
bearerFormat: mmk_…
description: 'Account API key: `Authorization: Bearer mmk_…` or `X-Api-Key: mmk_…`. Created on the account page (API keys), valid only in the product where it was created; it acts as the account (or the organization that owns it).'
carteiraAgente:
type: http
scheme: bearer
bearerFormat: mmw_…
description: 'Wallet credential of an agent without an account (`Authorization: Bearer mmw_…`, 30 days, this product only): POST /api/auth/wallet/agent/start, check that the domain and URI of the message are the host and origin that you called, sign the message with the wallet, POST /api/auth/wallet/agent/token. The owner is `x402:<address>`.'
externalDocs:
url: https://payapi.market/api/hookpulse
description: PayAPI Market
x-service-info:
categories:
- monitoring
- cron
- devops
docs:
homepage: https://hookpulse.net/
apiReference: https://hookpulse.net/developers
llms: https://hookpulse.net/llms.txt
errors: https://hookpulse.net/errors
status: https://hookpulse.net/status
pricing: https://hookpulse.net/api/pricing
billing: https://hookpulse.net/api/billing