# Get Sites

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /sites:
    get:
      summary: Get Sites
      deprecated: false
      description: >-
        ### Description :

        Sites represents the data of the site of an organization in Beetexting.
        This API helps Get all sites of agent. 


        ### URL : 

        https://connect.beetexting.com/prod/sites

        (While sending the request please make sure to append
        https://connect.beeteting.com/prod if the url in the cUrl command starts
        with /sites...)


        **Note : To add the OAuth2.0 Auth Token please see the section 'OAuth2.0
        For Beetexting' and 'Postman How-to for beetexting section'
      tags:
        - APIs/Sites API
      parameters:
        - name: page
          in: query
          description: >-
            No. of Pages to retrieve. Default value is 0 (zero). If no page
            value sent in request then the API will return the first page.
          required: false
          example: 0
          schema:
            type: integer
        - name: size
          in: query
          description: >-
            Page size. No of records in a page that the API will return. Default
            value is 20.
          required: false
          example: 20
          schema:
            type: integer
        - name: sort
          in: query
          description: ''
          required: false
          example: createDateTime
          schema:
            type: array
            items:
              type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                totalElements: 0
                totalPages: 0
                size: 0
                content:
                  - id: string
                    name: string
                    address: string
                number: 0
                sort:
                  - direction: string
                    nullHandling: string
                    ascending: true
                    property: string
                    ignoreCase: true
                first: true
                last: true
                numberOfElements: 0
                pageable:
                  offset: 0
                  sort:
                    - direction: string
                      nullHandling: string
                      ascending: true
                      property: string
                      ignoreCase: true
                  pageNumber: 0
                  pageSize: 0
                  paged: true
                  unpaged: true
                empty: true
          headers: {}
          x-apidog-name: Success
      security:
        - oauth21: []
      x-apidog-folder: APIs/Sites API
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/1058487/apis/api-21941571-run
components:
  schemas: {}
  securitySchemes:
    oauth21:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: ''
          tokenUrl: ''
          refreshUrl: ''
          scopes: {}
          x-apidog:
            addTokenTo: header
            useTokenType: access_token
            queryParamKey: access_token
            headerPrefix: Bearer
            codeVerifier: ''
            challengeAlgorithm: S256
            clientAuthentication: header
            useTokenConfigAsRefreshTokenConfig: true
            authRequestParams: []
            tokenRequestParams: []
servers: []
security: []

```
