{
  "opencollection": "1.0.0",
  "info": {
    "name": "Stytch B2B Authentication Application Connected Apps API",
    "version": "2.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Connected Apps",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.stytch.com/v1/connected_apps/clients/:client_id",
            "params": [
              {
                "name": "client_id",
                "value": "",
                "type": "path",
                "description": "The ID of the Connected App client."
              }
            ]
          },
          "docs": "Retrieve details of a specific Connected App by `client_id`."
        },
        {
          "info": {
            "name": "Update",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.stytch.com/v1/connected_apps/clients/:client_id",
            "params": [
              {
                "name": "client_id",
                "value": "",
                "type": "path",
                "description": "The ID of the client."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates mutable fields of a Connected App. Cannot update Client Type, Client ID, or Secrets."
        },
        {
          "info": {
            "name": "Delete",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.stytch.com/v1/connected_apps/clients/:client_id",
            "params": [
              {
                "name": "client_id",
                "value": "",
                "type": "path",
                "description": "The ID of the client."
              }
            ]
          },
          "docs": "Deletes a Connected App."
        },
        {
          "info": {
            "name": "Search",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.stytch.com/v1/connected_apps/clients/search",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Search for Connected Apps. Supports cursor-based pagination. Specific filters coming soon."
        },
        {
          "info": {
            "name": "Create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.stytch.com/v1/connected_apps/clients",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new Connected App. If the Connected App `client_type` is `first_party` or `third_party` a `client_secret` is returned.\n\n**Important:** This is the only time you will be able to view the generated `client_secret` in the API response. Stytch stores a hash of the `client_secret` and cannot recover the value if lost. Be sure to persist the `client_secret` in a secure location. If the `client_secret` is lost, you will need to trigger a secret rotation flow to receive another one."
        }
      ]
    }
  ],
  "bundled": true
}