# Sites **GET /sites/{siteId}** The sites GET request can be used to retrieve the details of all or a single site for the client through the optional use of a path parameter of the siteId. ## Servers ## Parameters ### Headers - **Authorization** (string) Bearer accessToken ## Responses ### 200 A Successful response will contain a JSON object with a nested "data" object containing an array of objects with the site details. The records_returned value cna be used for iterative purposes. Client sites are created through the web portal and each client will always have a minimum of one site. #### Body: (object) - **message** (string) - **records_returned** (integer) - **timestamp** (integer) - **data** (array[object]) ### 400 Bad Requests are most likely due to accessToken issues e.g. missing or invalid token. Important to note that querying a site that does not exist or belong to the client authorised by the accessToken will result in a '200' response with no records returned. #### Body: (object) - **message** (string) - **timestamp** (integer) [Powered by Bump.sh](https://bump.sh)