Skip to main content
GET
/
account
/
restaurant
Restaurant info
curl --request GET \
  --url https://app.xmenu.it/api/account/restaurant \
  --header 'X-Api-Key: <api-key>'
{
"success": true,
"restaurant": {
"uid": "<string>",
"name": "<string>",
"at": "<string>",
"address": "<string>",
"city": "<string>",
"province": "<string>",
"zip": "<string>",
"country": "<string>",
"phone": "<string>",
"email": "<string>",
"website": "<string>",
"logo": "<string>",
"has_subrestaurants": true
},
"error": "<string>",
"message": "<string>"
}

Authorizations

X-Api-Key
string
header
required

Restaurant API Key. Can be obtained from Tools > API Access in the xMenu dashboard.

Query Parameters

restuid
string

Unique restaurant identifier (not required with X-Client-Id authentication)

Response

Restaurant information response

success
boolean
required

Operation result: true if successful, false if failed

restaurant
object

Restaurant account information

error
string

Error code if the operation failed.

See Error codes for general error codes that may occur.

message
string

Human-readable error description if the operation failed