Anything Secrets API

The Secrets API from Anything — 2 operation(s) for secrets.

Operations 3

GET /v0/api/projects/{projectGroupId}/secrets List secrets
POST /v0/api/projects/{projectGroupId}/secrets Add secrets
DELETE /v0/api/projects/{projectGroupId}/secrets/{secretId} Delete a secret

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/anything-secrets-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

anything-secrets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Anything Assets Secrets API
  version: 0.1.0
  description: The Anything API is the fastest way for agents to build and launch mobile and web apps.
servers:
- url: /
tags:
- name: Secrets
paths:
  /v0/api/projects/{projectGroupId}/secrets:
    get:
      summary: List secrets
      description: Returns the configured secrets for a project without exposing plaintext values.
      tags:
      - Secrets
      security:
      - basicAuth: []
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: projectGroupId
        in: path
      responses:
        '200':
          description: Secrets list
          content:
            application/json:
              schema:
                type: object
                properties:
                  secrets:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        envKey:
                          type: string
                        displayName:
                          type: string
                        environment:
                          type: string
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                      - id
                      - envKey
                      - displayName
                      - environment
                      - createdAt
                      - updatedAt
                required:
                - secrets
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  details:
                    type: array
                    items: {}
                  message:
                    type: string
                required:
                - error
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  details:
                    type: array
                    items: {}
                  message:
                    type: string
                required:
                - error
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  details:
                    type: array
                    items: {}
                  message:
                    type: string
                required:
                - error
        '404':
          description: Not found — the referenced resource does not exist (including malformed resource IDs)
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  details:
                    type: array
                    items: {}
                  message:
                    type: string
                required:
                - error
    post:
      summary: Add secrets
      description: Adds one or more secrets to a project. Send a single secret object or a bulk array.
      tags:
      - Secrets
      security:
      - basicAuth: []
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: projectGroupId
        in: path
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
              - type: object
                properties:
                  secrets:
                    type: array
                    items:
                      type: object
                      properties:
                        displayName:
                          type: string
                          minLength: 1
                        envKey:
                          type: string
                          minLength: 2
                        value:
                          type: string
                          minLength: 1
                      required:
                      - displayName
                      - value
                    minItems: 1
                  environment:
                    type: string
                    enum:
                    - DEVELOPMENT
                    - PREVIEW
                    - PRODUCTION
                required:
                - secrets
                - environment
              - type: object
                properties:
                  displayName:
                    type: string
                    minLength: 1
                  value:
                    type: string
                    minLength: 1
                  environment:
                    type: string
                    enum:
                    - DEVELOPMENT
                    - PREVIEW
                    - PRODUCTION
                required:
                - displayName
                - value
      responses:
        '201':
          description: Secret(s) created
          content:
            application/json:
              schema:
                anyOf:
                - type: object
                  properties:
                    secrets:
                      type: array
                      items:
                        type: object
                        properties:
                          id:
                            type: string
                            format: uuid
                          envKey:
                            type: string
                          displayName:
                            type: string
                          environment:
                            type: string
                        required:
                        - id
                        - envKey
                        - displayName
                        - environment
                  required:
                  - secrets
                - type: object
                  properties:
                    secret:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        envKey:
                          type: string
                        displayName:
                          type: string
                        environment:
                          type: string
                      required:
                      - id
                      - envKey
                      - displayName
                      - environment
                  required:
                  - secret
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  details:
                    type: array
                    items: {}
                  message:
                    type: string
                required:
                - error
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  details:
                    type: array
                    items: {}
                  message:
                    type: string
                required:
                - error
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  details:
                    type: array
                    items: {}
                  message:
                    type: string
                required:
                - error
        '404':
          description: Not found — the referenced resource does not exist (including malformed resource IDs)
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  details:
                    type: array
                    items: {}
                  message:
                    type: string
                required:
                - error
  /v0/api/projects/{projectGroupId}/secrets/{secretId}:
    delete:
      summary: Delete a secret
      description: Removes a secret from the project.
      tags:
      - Secrets
      security:
      - basicAuth: []
      parameters:
      - schema:
          type: string
          format: uuid
        required: true
        name: projectGroupId
        in: path
      - schema:
          type: string
          format: uuid
        required: true
        name: secretId
        in: path
      responses:
        '204':
          description: Secret deleted
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  details:
                    type: array
                    items: {}
                  message:
                    type: string
                required:
                - error
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  details:
                    type: array
                    items: {}
                  message:
                    type: string
                required:
                - error
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  details:
                    type: array
                    items: {}
                  message:
                    type: string
                required:
                - error
        '404':
          description: Not found — the referenced resource does not exist (including malformed resource IDs)
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  details:
                    type: array
                    items: {}
                  message:
                    type: string
                required:
                - error
components:
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: 'Use your Anything API key as the Basic auth username and leave the password empty. Example credentials: anything_xxx:'