Swop Control API

Organization, project, environment, and policy management

GitHub OpenAPI

Operations 31

POST /v1/control/organizations Create an organization #
POST /v1/control/organizations/{organizationId}/projects Create a project #
PATCH /v1/control/projects/{projectId} Rename a project #
POST /v1/control/projects/{projectId}/environments Create an environment and issue its first credential pair #
PATCH /v1/control/environments/{environmentId} Rename an environment #
GET /v1/control/environments/{environmentId}/credentials List environment credentials #
POST /v1/control/environments/{environmentId}/credentials Rotate or create a new environment credential pair #
DELETE /v1/control/environments/{environmentId}/credentials/{credentialId} Revoke an environment credential pair #
GET /v1/control/organizations/{organizationId}/overview Get organization overview #
GET /v1/control/organizations/{organizationId}/admin-credentials List organization admin credentials #
POST /v1/control/organizations/{organizationId}/admin-credentials Create an organization admin credential #
GET /v1/control/organizations/{organizationId}/members List organization members #
PATCH /v1/control/organizations/{organizationId}/members/{memberId} Update an organization member role and sync their active admin credentials #
DELETE /v1/control/organizations/{organizationId}/members/{memberId} Revoke an organization member and deactivate their admin credentials #
GET /v1/control/organizations/{organizationId}/invites List organization invites #
POST /v1/control/organizations/{organizationId}/invites Create an organization invite #
DELETE /v1/control/organizations/{organizationId}/invites/{inviteId} Revoke an organization invite #
DELETE /v1/control/organizations/{organizationId}/admin-credentials/{credentialId} Revoke an organization admin credential #
POST /v1/control/organization-invites/{inviteId}/accept Accept an organization invite and mint an org-scoped admin credential #
PUT /v1/control/environments/{environmentId}/policy Replace environment policy #
GET /v1/control/environments/{environmentId}/dashboard Get environment dashboard snapshot #
GET /v1/control/environments/{environmentId}/chains List environment RPC targets #
PUT /v1/control/environments/{environmentId}/chains/{chain} Create or update an environment RPC target #
POST /v1/control/environments/{environmentId}/webhooks Create a webhook endpoint #
GET /v1/control/environments/{environmentId}/webhooks List webhooks #
POST /v1/control/environments/{environmentId}/webhooks/{webhookId}/rotate-secret Rotate a webhook signing secret #
DELETE /v1/control/environments/{environmentId}/webhooks/{webhookId} Revoke a webhook endpoint #
GET /v1/control/environments/{environmentId}/audit List environment audit logs #
GET /v1/control/environments/{environmentId}/oidc-clients List OIDC clients for an environment #
POST /v1/control/environments/{environmentId}/oidc-clients Create an OIDC client for Sign in with Swop #
DELETE /v1/control/environments/{environmentId}/oidc-clients/{clientId} Revoke an OIDC client #

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/swopme-co:swopme-co-control-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

swopme-co-control-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Swivy Control API
  version: 1.0.0
  description: Swivy control-plane and runtime API. This contract documents the primary headers and payloads used by the current platform. Legacy migration headers such as x-env-id and x-api-key are still accepted in code, but they are intentionally not the primary documented contract here.
servers:
- url: /
  description: Current Swivy deployment
tags:


# --- truncated at 32 KB (93 KB total) ---
# Full source: https://artifacts.apis.io/swopme-co/openapi/swopme-co-control-api-openapi.yml