# GetTimeLimitedServiceKey Method

## Overloads

| [GetTimeLimitedServiceKey()](https://help.qlik.com/en-US/qlikview-developer/September2026/Subsystems/QMSAPIref/Content/PIX.Services.V12.Api5.IQMS5.GetTimeLimitedServiceKey.htm#PIX_Services_V12_Api5_IQMS5_GetTimeLimitedServiceKey) |  | Gets a time limited service key. |
| --- | --- | --- |

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.Services.V12.Api5.IQMS5.GetTimeLimitedServiceKey.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.Services.V12.Api5.IQMS5.GetTimeLimitedServiceKey.htm)

## GetTimeLimitedServiceKey()

Gets a time limited service key.

### Declaration

```

          string GetTimeLimitedServiceKey()
    
  
```

### Returns

| Type | Description |
| --- | --- |
| System.String | A service key that is valid for one minute. |

### Remarks

A service key returned by this method should be supplied as a HTTP header of each other operation call. See the Introduction for more information on how to use the service key.

### Examples

See the Samples for examples on how this method can be used.