# getConsentId

## getConsentId

**Description:**\
Get the current **Consent ID** for the user.

**Syntax:**

```javascript
var sConsentId = jentis.consent.engine.getConsentId();
```

**Parameters:**

* *(none)*

**Returns:**

* `string` — The current consent ID.
