iNaturalist Flags API

Create, update, and delete flags

Operations 3

POST /flags Flag Create #
PUT /flags/{id} Flag Update #
DELETE /flags/{id} Flag Delete #

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/inaturalist-flags-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

inaturalist-flags-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: iNaturalist Flags API
  description: '# https://api.inaturalist.org/v1/


    iNaturalist is a global community of

    naturalists, scientists, and members of the public sharing over a million

    wildlife sightings to teach one another about the natural world while

    creating high quality citizen science data for science and conservation.'
  version: 1.3.0
servers:
- url: /v1
tags:
- name: Flags
  description: Create, update, and delete flags
paths:
  /flags:
    post:
      summary: Flag Create
      description: 'Create a flag. To create a custom flag beyond the standard `spam` and

        `inappropriate` flags, set `flag` to `other` and include a `flag_explanation`'
      tags:
      - Flags
      security:
      - api_token: []
      responses:
        '200':
          description: OK
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostFlag'
        description: Flag object
      operationId: postFlags
      x-operation-id-source: derived
  /flags/{id}:
    put:
      summary: Flag Update
      description: Update a flag. Generally only used to resolve the flag.
      parameters:
      - $ref: '#/components/parameters/path_id'
      tags:
      - Flags
      security:
      - api_token: []
      responses:
        '200':
          description: OK
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PutFlag'
      operationId: putFlagsById
      x-operation-id-source: derived
    delete:
      summary: Flag Delete
      description: Delete a flag
      parameters:
      - $ref: '#/components/parameters/path_id'
      tags:
      - Flags
      security:
      - api_token: []
      responses:
        '200':
          description: OK
      operationId: deleteFlagsById
      x-operation-id-source: derived
components:
  schemas:
    PostFlag:
      type: object
      properties:
        flag:
          type: object
          properties:
            flaggable_type:
              type: string
              enum:
              - Comment
              - Identification
              - Message
              - Observation
              - Post
              - Taxon
            flaggable_id:
              type: integer
            flag:
              enum:
              - spam
              - inappropriate
              - other
        flag_explanation:
          type: string
    PutFlag:
      type: object
      properties:
        flag:
          type: object
          properties:
            resolved:
              type: boolean
  parameters:
    path_id:
      name: id
      in: path
      required: true
      description: ID of the record
      schema:
        type: integer
  securitySchemes:
    api_token:
      type: apiKey
      name: Authorization
      in: header