# Get Facebook connections.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "v1",
    "title": "Channels API"
  },
  "paths": {
    "/channels/v1/accounts/{accountId}/facebook/{channelRequestId}/connections": {
      "get": {
        "tags": [
          "Facebook"
        ],
        "summary": "Get Facebook connections.",
        "operationId": "Facebook_GetFacebookConnectionsAsync",
        "parameters": [
          {
            "name": "accountId",
            "in": "path",
            "description": "The account identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "channelRequestId",
            "in": "path",
            "description": "The channel request identifier.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "q",
            "in": "query",
            "description": "The q.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "description": "The status.",
            "required": false,
            "explode": true,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "ACTIVE",
                  "PENDING",
                  "ELIGIBLE",
                  "NOT_VALIDATED",
                  "CUSTOMER_ACTION_REQUIRED",
                  "EXPIRED",
                  "REJECTED",
                  "CANCELLED",
                  "DELETED"
                ]
              }
            }
          },
          {
            "name": "skip",
            "in": "query",
            "description": "The skip.",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "take",
            "in": "query",
            "description": "The take.",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CM.Platform.Channels.Models.ChannelTypes.Facebook.ApiFacebookConnectionBase"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CM.Platform.Channels.Models.ChannelTypes.Facebook.ApiFacebookConnectionBase"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.cm.com"
    }
  ],
  "components": {
    "schemas": {
      "CM.Platform.Channels.Models.ChannelTypes.Facebook.ApiFacebookConnectionBase": {
        "required": [
          "id",
          "accountId",
          "type",
          "facebookConnectionId",
          "name",
          "isActive",
          "isPending",
          "isExpired",
          "createdOnUtc"
        ],
        "type": "object",
        "properties": {
          "id": {
            "format": "uuid",
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000"
          },
          "accountId": {
            "format": "uuid",
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000"
          },
          "type": {
            "enum": [
              "PAGE"
            ],
            "type": "string"
          },
          "facebookConnectionId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "facebookUrl": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "isPending": {
            "type": "boolean"
          },
          "isExpired": {
            "type": "boolean"
          },
          "createdOnUtc": {
            "format": "date-time",
            "type": "string"
          },
          "rejectedOnUtc": {
            "format": "date-time",
            "type": "string"
          },
          "cancelledOnUtc": {
            "format": "date-time",
            "type": "string"
          },
          "deletedOnUtc": {
            "format": "date-time",
            "type": "string"
          },
          "entityStatus": {
            "enum": [
              "ACTIVE",
              "PENDING",
              "ELIGIBLE",
              "NOT_VALIDATED",
              "CUSTOMER_ACTION_REQUIRED",
              "EXPIRED",
              "REJECTED",
              "CANCELLED",
              "DELETED"
            ],
            "type": "string"
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 103,
      "1": 190,
      "2": 212,
      "3": 166,
      "4": 50,
      "5": 7,
      "6": 123,
      "7": 0,
      "8": 17,
      "9": 137,
      "10": 237,
      "11": 0
    }
  }
}
```