{
  "opencollection": "1.0.0",
  "info": {
    "name": "WorkOS admin-portal applications API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "applications",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Connect Applications",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.workos.com/connect/applications",
            "params": [
              {
                "name": "before",
                "value": "",
                "type": "query",
                "description": "An object ID that defines your place in the list. When the ID is not present, you are at the end of the list. For example, if you make a list request and receive 100 objects, ending with `\"obj_123\"`, your subsequent call can include `before=\"obj_123\"` to fetch a new batch of objects before `\"obj_123\"`."
              },
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "An object ID that defines your place in the list. When the ID is not present, you are at the end of the list. For example, if you make a list request and receive 100 objects, ending with `\"obj_123\"`, your subsequent call can include `after=\"obj_123\"` to fetch a new batch of objects after `\"obj_123\"`."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Upper limit on the number of objects to return, between `1` and `100`."
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Order the results by the creation time. Supported values are `\"asc\"` (ascending), `\"desc\"` (descending), and `\"normal\"` (descending with reversed cursor semantics where `before` fetches older records and `after` fetches newer records). Defaults to descending."
              },
              {
                "name": "organization_id",
                "value": "",
                "type": "query",
                "description": "Filter Connect Applications by organization ID."
              }
            ]
          },
          "docs": "List all Connect Applications in the current environment with optional filtering."
        },
        {
          "info": {
            "name": "Create a Connect Application",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.workos.com/connect/applications",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new Connect Application. Supports both OAuth and Machine-to-Machine (M2M) application types."
        },
        {
          "info": {
            "name": "Get a Connect Application",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.workos.com/connect/applications/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The application ID or client ID of the Connect Application."
              }
            ]
          },
          "docs": "Retrieve details for a specific Connect Application by ID or client ID."
        },
        {
          "info": {
            "name": "Update a Connect Application",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.workos.com/connect/applications/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The application ID or client ID of the Connect Application."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an existing Connect Application. For OAuth applications, you can update redirect URIs. For all applications, you can update the name, description, and scopes."
        },
        {
          "info": {
            "name": "Delete a Connect Application",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.workos.com/connect/applications/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The application ID or client ID of the Connect Application."
              }
            ]
          },
          "docs": "Delete an existing Connect Application."
        }
      ]
    }
  ],
  "bundled": true
}