---
title: "Get Server ID"
slug: "getserverid"
updated: 2026-04-16T07:08:42Z
published: 2026-04-16T07:08:42Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://help.12dsynergy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Server ID

This tutorial demonstrates how to get the server ID via the RESTful API.

The commands are provided in curl and can be run from the command prompt when the 12d Synergy Server is running (or in a batch script)

> [!NOTE]
> Additional API documentation
> 
> To get a list of most of the API requests available, with the 12d Synergy server running, browse [http://synergy.myserver.com/api-docs/ui/index](http://localhost:8080/api-docs/ui/index).
> 
> (Replace [synergy.myserver.com](http://synergy.myserver.com/) with the external server address and update the port numbers if necessary.)

### 1.1. Get Server ID

This request can be found in the API documentation under Server marked 'Get Server ID'.

**Sample Request**

```SampleRequest
curl --location 'http://localhost:8080/api/server/getServerId'
```

**Sample Response**

```SampleResponse
{

    "id": 1,

    "guid": "b993c729-bf98-490c-989d-5621e5b48132"

}
```
