**Source URL:** https://limited.veevavault.dev/regulatory/vault-api/api-reference/24.2/authentication/session-keep-alive.md

# Session Keep Alive



Given an active `sessionId`, keep the session active by refreshing the session duration.

A Vault session is considered active as long as some activity (either through the UI or API) happens within the maximum inactive session duration. This maximum inactive session duration varies by Vault and is configured by your Vault Admin. The maximum active session duration is 48 hours, which is not configurable. Learn more about [best practices for session management](/vault-api/explanation/session-management).

<Endpoint path="/api/{version}/keep-alive" method="POST"></Endpoint>

## Headers {#headers}

<FieldTable>
| Name | Description |
| --- | --- |
| `Accept` | `application/json` (default) or `application/xml` |
| `Authorization` | The Vault `sessionId` to keep active. |
</FieldTable>

## Request {#request}

<CodeExample title="">
```
curl -X POST -H "Authorization: {SESSION_ID}" \
https://myvault.veevavault.com/api/v21.3/keep-alive

```
</CodeExample>

## Response {#response}

<CodeExample title="">
```
{
   "responseStatus": "SUCCESS"
}

```
</CodeExample>

---

**Previous:** [Authentication Type Discovery](/regulatory/vault-api/api-reference/24.2/authentication/authentication-type-discovery)  
**Next:** [End Session](/regulatory/vault-api/api-reference/24.2/authentication/end-session)