Account

Retrieve a paginated list of accounts that have access to the restaurant

get/api/v1/restaurants/{restaurant_id}/accounts

Request

  • Base URL: https://gotable.app
  • URL: https://gotable.app/api/v1/restaurants/{restaurant_id}/accounts
  • Auth: HTTP bearer

Path parameters

restaurant_idinteger required

Query parameters

pageinteger

Current page number

per_pageinteger

Number of results per page (max 100)

Response

With a valid API token

Example response

{
  "accounts": [
    {
      "id": 12345,
      "name": "John Doe",
      "email": "john.doe@example.com"
    }
  ],
  "meta": {
    "current_page": 1,
    "per_page": 20,
    "total_pages": 1,
    "total_count": 1,
    "links": [
      {
        "href": "https://gotable.app/api/v1/",
        "method": "GET",
        "rel": "next"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.