Piknik.Spot Tasks API

The Tasks API from Piknik.Spot — 16 operation(s) for tasks.

Operations 19

POST /tasks/{id}/abandon POST /tasks/{id}/abandon #
POST /tasks/{id}/claim POST /tasks/{id}/claim #
POST /tasks/{id}/confirm-dropoff POST /api/tasks/[id]/confirm-dropoff #
POST /tasks/{id}/confirm-pickup POST /api/tasks/[id]/confirm-pickup #
GET /tasks/{id}/messages GET /tasks/{id}/messages #
POST /tasks/{id}/messages POST /tasks/{id}/messages #
POST /tasks/{id}/reject POST /tasks/{id}/reject #
GET /tasks/{id} GET /tasks/{id} #
POST /tasks/{id}/submit-response POST /tasks/{id}/submit-response #
POST /tasks/{id}/unclaim POST /api/tasks/[id]/unclaim #
PUT /tasks/{id}/update PUT /tasks/{id}/update #
DELETE /tasks/{id}/update DELETE /tasks/{id}/update #
PATCH /tasks/{id}/update-response PATCH /api/tasks/[id]/update-response #
POST /tasks/{id}/verify POST /tasks/{id}/verify #
POST /tasks/create POST /tasks/create #
GET /tasks/nearby GET /tasks/nearby #
POST /tasks/nearby POST /tasks/nearby #
GET /tasks/public GET /tasks/public #
POST /tasks/trigger-proximity-check POST /tasks/trigger-proximity-check #

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/piknik-spot:piknik-spot-tasks-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

piknik-spot-tasks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Piknik.Spot Tasks API
  description: Piknik.Spot API with OAuth2 authentication, Model Context Protocol (MCP) support, and Agent-to-Agent (A2A) capabilities for AI-powered local food system interactions.
  version: 1.0.0
  contact:
    name: Piknik.Spot API Support
    url: https://piknik.spot
    email: info@piknik.spot
  license:
    name: Proprietary
    url: https://piknik.spot/terms
servers:
- url: https://piknik.spot/api
  description: Production Server
- url: http://localhost:3000/api
  description: Development Server
tags:
- name: Tasks
paths:
  /tasks/{id}/abandon:
    post:
      summary: POST /tasks/{id}/abandon
      description: Endpoint for /tasks/{id}/abandon
      tags:
      - Tasks
      responses:
        '201':
          description: Created successfully
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - bearerAuth: []
      - cookieAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: id identifier
      operationId: postTasksByIdAbandon
      x-operation-id-source: derived
  /tasks/{id}/claim:
    post:
      summary: POST /tasks/{id}/claim
      description: Endpoint for /tasks/{id}/claim
      tags:
      - Tasks
      responses:
        '201':
          description: Created successfully
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - bearerAuth: []
      - cookieAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: id identifier
      operationId: postTasksByIdClaim
      x-operation-id-source: derived
  /tasks/{id}/confirm-dropoff:
    post:
      summary: POST /api/tasks/[id]/confirm-dropoff
      tags:
      - Tasks
      responses:
        '201':
          description: Created successfully
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - bearerAuth: []
      - cookieAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: id identifier
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      operationId: postTasksByIdConfirmDropoff
      x-operation-id-source: derived
  /tasks/{id}/confirm-pickup:
    post:
      summary: POST /api/tasks/[id]/confirm-pickup
      tags:
      - Tasks
      responses:
        '201':
          description: Created successfully
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - bearerAuth: []
      - cookieAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: id identifier
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      operationId: postTasksByIdConfirmPickup
      x-operation-id-source: derived
  /tasks/{id}/messages:
    get:
      summary: GET /tasks/{id}/messages
      description: Endpoint for /tasks/{id}/messages
      tags:
      - Tasks
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - bearerAuth: []
      - cookieAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: id identifier
      operationId: getTasksByIdMessages
      x-operation-id-source: derived
    post:
      summary: POST /tasks/{id}/messages
      description: Endpoint for /tasks/{id}/messages
      tags:
      - Tasks
      responses:
        '201':
          description: Created successfully
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - bearerAuth: []
      - cookieAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: id identifier
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      operationId: postTasksByIdMessages
      x-operation-id-source: derived
  /tasks/{id}/reject:
    post:
      summary: POST /tasks/{id}/reject
      description: Endpoint for /tasks/{id}/reject
      tags:
      - Tasks
      responses:
        '201':
          description: Created successfully
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - bearerAuth: []
      - cookieAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: id identifier
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      operationId: postTasksByIdReject
      x-operation-id-source: derived
  /tasks/{id}:
    get:
      summary: GET /tasks/{id}
      description: Endpoint for /tasks/{id}
      tags:
      - Tasks
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: id identifier
      operationId: getTasksById
      x-operation-id-source: derived
  /tasks/{id}/submit-response:
    post:
      summary: POST /tasks/{id}/submit-response
      description: Endpoint for /tasks/{id}/submit-response
      tags:
      - Tasks
      responses:
        '201':
          description: Created successfully
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - bearerAuth: []
      - cookieAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: id identifier
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      operationId: postTasksByIdSubmitResponse
      x-operation-id-source: derived
  /tasks/{id}/unclaim:
    post:
      summary: POST /api/tasks/[id]/unclaim
      tags:
      - Tasks
      responses:
        '201':
          description: Created successfully
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - bearerAuth: []
      - cookieAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: id identifier
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      operationId: postTasksByIdUnclaim
      x-operation-id-source: derived
  /tasks/{id}/update:
    put:
      summary: PUT /tasks/{id}/update
      description: Endpoint for /tasks/{id}/update
      tags:
      - Tasks
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - bearerAuth: []
      - cookieAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: id identifier
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      operationId: putTasksByIdUpdate
      x-operation-id-source: derived
    delete:
      summary: DELETE /tasks/{id}/update
      description: Endpoint for /tasks/{id}/update
      tags:
      - Tasks
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - bearerAuth: []
      - cookieAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: id identifier
      operationId: deleteTasksByIdUpdate
      x-operation-id-source: derived
  /tasks/{id}/update-response:
    patch:
      summary: PATCH /api/tasks/[id]/update-response
      tags:
      - Tasks
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: id identifier
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      operationId: patchTasksByIdUpdateResponse
      x-operation-id-source: derived
  /tasks/{id}/verify:
    post:
      summary: POST /tasks/{id}/verify
      description: Endpoint for /tasks/{id}/verify
      tags:
      - Tasks
      responses:
        '201':
          description: Created successfully
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - bearerAuth: []
      - cookieAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: id identifier
      operationId: postTasksByIdVerify
      x-operation-id-source: derived
  /tasks/create:
    post:
      summary: POST /tasks/create
      description: Endpoint for /tasks/create
      tags:
      - Tasks
      responses:
        '201':
          description: Created successfully
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - bearerAuth: []
      - cookieAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      operationId: postTasksCreate
      x-operation-id-source: derived
  /tasks/nearby:
    get:
      summary: GET /tasks/nearby
      description: Endpoint for /tasks/nearby
      tags:
      - Tasks
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security: []
      parameters:
      - name: lat
        in: query
        schema:
          type: number
          format: double
        description: Latitude coordinate
      - name: lng
        in: query
        schema:
          type: number
          format: double
        description: Longitude coordinate
      - name: radius
        in: query
        schema:
          type: integer
        description: Search radius in kilometers
      - name: minPriority
        in: query
        schema:
          type: string
        description: minPriority parameter
      - name: taskType
        in: query
        schema:
          type: string
        description: taskType parameter
      - name: status
        in: query
        schema:
          type: string
        description: status parameter
      - name: limit
        in: query
        schema:
          type: integer
        description: Maximum number of results
      - name: offset
        in: query
        schema:
          type: integer
        description: Pagination offset
      operationId: getTasksNearby
      x-operation-id-source: derived
    post:
      summary: POST /tasks/nearby
      description: Endpoint for /tasks/nearby
      tags:
      - Tasks
      responses:
        '201':
          description: Created successfully
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security: []
      parameters:
      - name: lat
        in: query
        schema:
          type: number
          format: double
        description: Latitude coordinate
      - name: lng
        in: query
        schema:
          type: number
          format: double
        description: Longitude coordinate
      - name: radius
        in: query
        schema:
          type: integer
        description: Search radius in kilometers
      - name: minPriority
        in: query
        schema:
          type: string
        description: minPriority parameter
      - name: taskType
        in: query
        schema:
          type: string
        description: taskType parameter
      - name: status
        in: query
        schema:
          type: string
        description: status parameter
      - name: limit
        in: query
        schema:
          type: integer
        description: Maximum number of results
      - name: offset
        in: query
        schema:
          type: integer
        description: Pagination offset
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      operationId: postTasksNearby
      x-operation-id-source: derived
  /tasks/public:
    get:
      summary: GET /tasks/public
      description: Endpoint for /tasks/public
      tags:
      - Tasks
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security: []
      parameters:
      - name: participantId
        in: query
        schema:
          type: string
        description: Participant identifier
      - name: taskType
        in: query
        schema:
          type: string
        description: taskType parameter
      - name: priority
        in: query
        schema:
          type: string
        description: priority parameter
      - name: status
        in: query
        schema:
          type: string
        description: status parameter
      - name: limit
        in: query
        schema:
          type: integer
        description: Maximum number of results
      - name: offset
        in: query
        schema:
          type: integer
        description: Pagination offset
      - name: lat
        in: query
        schema:
          type: number
          format: double
        description: Latitude coordinate
      - name: lng
        in: query
        schema:
          type: number
          format: double
        description: Longitude coordinate
      - name: radius
        in: query
        schema:
          type: integer
        description: Search radius in kilometers
      operationId: getTasksPublic
      x-operation-id-source: derived
  /tasks/trigger-proximity-check:
    post:
      summary: POST /tasks/trigger-proximity-check
      description: Endpoint for /tasks/trigger-proximity-check
      tags:
      - Tasks
      responses:
        '201':
          description: Created successfully
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - bearerAuth: []
      - cookieAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      operationId: postTasksTriggerProximityCheck
      x-operation-id-source: derived
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message
        error_description:
          type: string
          description: Detailed error description
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: next-auth.session-token
      description: Session-based authentication for web browsers
    oauth2:
      type: oauth2
      description: OAuth 2.0 authentication for external applications and AI agents
      flows:
        authorizationCode:
          authorizationUrl: https://piknik.spot/api/oauth/authorize
          tokenUrl: https://piknik.spot/api/oauth/token
          refreshUrl: https://piknik.spot/api/oauth/token
          scopes:
            marketplace:write: Create and manage marketplace listings
            events:write: Create and manage community events
            read:profile: Read user profile information
            write:profile: Update user profile information
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'OAuth2 access token (JWT). Include in Authorization header as: Bearer {token}'