AdvisorPPC Goals API

The goals API from AdvisorPPC — 2 operation(s) for goals.

Operations 4

GET /api/goals List Goals #
POST /api/goals Create Goal #
PATCH /api/goals/{goal_id} Update Goal #
DELETE /api/goals/{goal_id} Delete Goal #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/advisorppc-com:advisorppc-com-goals-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API 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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

advisorppc-com-goals-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AdvisorPPC Goals API
  version: 0.1.0
tags:
- name: Goals
paths:
  /api/goals:
    get:
      tags:
      - Goals
      summary: List Goals
      operationId: list_goals_api_goals_get
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoalListOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Goals
      summary: Create Goal
      operationId: create_goal_api_goals_post
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoalIn'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoalOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/goals/{goal_id}:
    patch:
      tags:
      - Goals
      summary: Update Goal
      operationId: update_goal_api_goals__goal_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: goal_id
        in: path
        required: true
        schema:
          type: integer
          title: Goal Id
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoalPatch'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoalOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Goals
      summary: Delete Goal
      operationId: delete_goal_api_goals__goal_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: goal_id
        in: path
        required: true
        schema:
          type: integer
          title: Goal Id
      - name: X-Tenant-Id
        in: header
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: X-Tenant-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoalDeleteOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    GoalOut:
      properties:
        id:
          type: integer
          title: Id
        type:
          type: string
          title: Type
        target_value:
          type: number
          title: Target Value
        budget_ceiling_cents:
          type: integer
          title: Budget Ceiling Cents
        spent_cents:
          type: integer
          title: Spent Cents
        currency:
          type: string
          title: Currency
        deadline:
          type: string
          format: date
          title: Deadline
        status:
          type: string
          title: Status
        attribution_mode:
          type: string
          title: Attribution Mode
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
      - id
      - type
      - target_value
      - budget_ceiling_cents
      - spent_cents
      - currency
      - deadline
      - status
      - attribution_mode
      - created_at
      - updated_at
      title: GoalOut
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    GoalPatch:
      properties:
        target_value:
          anyOf:
          - type: number
            exclusiveMinimum: 0.0
          - type: 'null'
          title: Target Value
        budget_ceiling_cents:
          anyOf:
          - type: integer
            minimum: 0.0
          - type: 'null'
          title: Budget Ceiling Cents
        deadline:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Deadline
        status:
          anyOf:
          - type: string
          - type: 'null'
          title: Status
        channel_mix_json:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Channel Mix Json
      type: object
      title: GoalPatch
    GoalIn:
      properties:
        type:
          type: string
          title: Type
        target_value:
          type: number
          exclusiveMinimum: 0.0
          title: Target Value
        budget_ceiling_cents:
          type: integer
          minimum: 0.0
          title: Budget Ceiling Cents
          default: 0
        deadline:
          type: string
          format: date
          title: Deadline
        status:
          type: string
          title: Status
          default: active
        currency:
          type: string
          title: Currency
          default: USD
        composite_json:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Composite Json
        channel_mix_json:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Channel Mix Json
        attribution_mode:
          type: string
          title: Attribution Mode
          default: ga4_blend
      type: object
      required:
      - type
      - target_value
      - deadline
      title: GoalIn
    GoalDeleteOut:
      properties:
        id:
          type: integer
          title: Id
        deleted:
          type: boolean
          title: Deleted
      type: object
      required:
      - id
      - deleted
      title: GoalDeleteOut
    GoalListOut:
      properties:
        goals:
          items:
            $ref: '#/components/schemas/GoalOut'
          type: array
          title: Goals
      type: object
      required:
      - goals
      title: GoalListOut
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer