---
agentTools:
  projectIndex: https://hermae.readme.io/llms.txt
---

# Get Connections

Fetch an organization's connections to 3rd parties.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.2.1",
    "title": "Hermae API",
    "description": "API for managing the Hermae application."
  },
  "servers": [
    {
      "url": "https://api.hermae.com"
    }
  ],
  "security": [
    {
      "HermaeKeyAuth": []
    }
  ],
  "components": {
    "securitySchemes": {
      "HermaeKeyAuth": {
        "type": "apiKey",
        "name": "x-hermae-key",
        "in": "header",
        "description": "Your API key for authentication."
      }
    },
    "schemas": {
      "OrganizationID": {
        "type": "string",
        "example": "A1B2C3D4E6"
      }
    },
    "parameters": {
      "OrganizationID": {
        "schema": {
          "$ref": "#/components/schemas/OrganizationID"
        },
        "required": true,
        "name": "organizationId",
        "in": "path"
      }
    }
  },
  "paths": {
    "/organizations/{organizationId}/connections": {
      "get": {
        "summary": "Get Connections",
        "description": "Fetch an organization's connections to 3rd parties.",
        "tags": [
          "Connections"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/OrganizationID"
          }
        ],
        "responses": {
          "200": {
            "description": "An array of connection documents.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "number"
                    },
                    "returns": {
                      "type": "object",
                      "properties": {
                        "connections": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "organization_id": {
                                "type": "string"
                              },
                              "slack_organization_id": {
                                "type": "string"
                              },
                              "domain": {
                                "type": "string",
                                "maxLength": 64
                              },
                              "note": {
                                "type": "string",
                                "maxLength": 24
                              },
                              "created_at": {
                                "type": "string"
                              },
                              "object": {
                                "type": "string",
                                "enum": [
                                  "connection"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "organization_id",
                              "slack_organization_id",
                              "domain",
                              "created_at",
                              "object"
                            ],
                            "description": "An object that represents access between an organization and a 3rd party"
                          }
                        }
                      },
                      "required": [
                        "connections"
                      ]
                    }
                  },
                  "required": [
                    "status",
                    "returns"
                  ]
                }
              }
            }
          },
          "404": {
            "description": "Resource not found.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "number"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "status",
                    "message"
                  ]
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 102,
      "1": 66,
      "2": 111,
      "3": 18,
      "4": 218,
      "5": 98,
      "6": 116,
      "7": 0,
      "8": 18,
      "9": 82,
      "10": 77,
      "11": 93
    }
  }
}
```