> ## Documentation Index
> Fetch the complete documentation index at: https://docs.passionfroot.me/llms.txt
> Use this file to discover all available pages before exploring further.

# Counter a proposal

> Cancels the pending proposal and replaces it with a new proposal on the same collaboration.



## OpenAPI

````yaml /openapi/creator.yaml post /proposals/{proposalId}/counter
openapi: 3.1.0
info:
  title: Passionfroot Creator API
  version: 1.0.0-alpha
  description: >
    Access a creator's own partners, collaborations, placements, catalog,
    proposals, and conversations.

    The API is in alpha. Every operation is restricted to the creator account
    that owns the API key.
servers:
  - url: https://workspace.passionfroot.me/api/creators/v1
security:
  - bearerAuth: []
tags:
  - name: Placements
  - name: Partners
  - name: Collaborations
  - name: Conversations
  - name: Catalog
  - name: Requests
  - name: Proposals
paths:
  /proposals/{proposalId}/counter:
    post:
      tags:
        - Proposals
      summary: Counter a proposal
      description: >-
        Cancels the pending proposal and replaces it with a new proposal on the
        same collaboration.
      operationId: counterCreatorProposal
      parameters:
        - $ref: '#/components/parameters/ProposalId'
        - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CounterProposalInput'
      responses:
        '201':
          $ref: '#/components/responses/Proposal'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '422':
          $ref: '#/components/responses/UnprocessableEntity'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
components:
  parameters:
    ProposalId:
      name: proposalId
      in: path
      required: true
      schema:
        type: string
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      description: >-
        Unique key for one logical write. Reuse the key and identical body for
        retries.
      schema:
        type: string
        minLength: 1
        maxLength: 255
  schemas:
    CounterProposalInput:
      $ref: '#/components/schemas/ProposalTermsInput'
    ProposalTermsInput:
      type: object
      additionalProperties: false
      required:
        - placements
        - basePriceCents
      properties:
        placements:
          type: array
          minItems: 1
          maxItems: 100
          items:
            $ref: '#/components/schemas/ProposalPlacementInput'
        basePriceCents:
          type: integer
          minimum: 1
          maximum: 2147483647
          description: >-
            Creator list price for the entire proposal in the collaboration
            currency.
        packageId:
          type: string
        name:
          type: string
        comment:
          type: string
        autoInvoice:
          type: boolean
        daysUntilInvoiceDue:
          type: integer
          minimum: 1
          maximum: 365
    Proposal:
      type: object
      required:
        - proposalId
        - collaborationId
        - requestId
        - status
        - createdBy
        - priceCents
        - budgetCents
        - currency
        - packageName
        - placements
      properties:
        proposalId:
          type:
            - string
            - 'null'
        collaborationId:
          type: string
        requestId:
          type: string
        status:
          type: string
          enum:
            - offer_pending
            - pending
            - accepted
            - rejected
            - cancelled
        createdBy:
          type: string
          enum:
            - creator
            - brand
        priceCents:
          type:
            - integer
            - 'null'
          description: Creator earnings if accepted. Mutually exclusive with `budgetCents`.
        budgetCents:
          type:
            - integer
            - 'null'
          description: >-
            Brand's disclosed gross budget. Mutually exclusive with
            `priceCents`.
        currency:
          type:
            - string
            - 'null'
        packageName:
          type: string
        comment:
          type: string
        placements:
          type: array
          items:
            $ref: '#/components/schemas/ProposalPlacement'
    Error:
      type: object
      additionalProperties: false
      required:
        - error
      properties:
        error:
          type: string
    ProposalPlacementInput:
      type: object
      additionalProperties: false
      required:
        - productId
        - date
      properties:
        productId:
          type: string
        date:
          type: string
          description: YYYY-MM-DD or an ISO 8601 timestamp with offset.
    ProposalPlacement:
      type: object
      required:
        - date
        - postType
        - platform
      properties:
        date:
          type: string
        postType:
          type:
            - string
            - 'null'
        platform:
          type:
            - string
            - 'null'
  responses:
    Proposal:
      description: The proposal's current state.
      content:
        application/json:
          schema:
            type: object
            required:
              - data
            properties:
              data:
                $ref: '#/components/schemas/Proposal'
    BadRequest:
      description: Invalid parameters or body.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing, invalid, expired, or revoked API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: The key lacks access or the required scope.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Resource not found or not owned by this creator.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Conflict:
      description: >-
        The operation conflicts with current state or an identical write is in
        progress.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    UnprocessableEntity:
      description: >-
        The body is valid JSON but references an invalid catalog item or reuses
        an idempotency key with different input.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    TooManyRequests:
      description: Rate limit exceeded.
      headers:
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Too many requests, please try again later.
    ServiceUnavailable:
      description: >-
        Temporary key-verification or write-lock infrastructure failure. Retry
        after the indicated delay.
      headers:
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  headers:
    RetryAfter:
      description: Seconds to wait before retrying.
      schema:
        type: integer
        minimum: 1
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Passionfroot API key
      description: Create an API key from Settings → API in an approved Creator workspace.

````