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

# Get Escalation

Returns escalation with given 'id' or 'name'.

<Note>
  External Documentation

  To learn more, visit the [Opsgenie documentation](https://www.opsgenie.com/docs/escalation-api#section-get-escalation).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                          |
  | --------- | ---------------------------------------------------------------------------------------------------- |
  | ID        | Identifier of escalation which could be escalation 'id' or 'name'.                                   |
  | ID Type   | Type of the identifier that is provided as an in-line parameter. Possible values are 'id' or 'name'. |
</div>

## Example Output

```json theme={"dark"}
{
	"data": {
		"description": "string",
		"id": "string",
		"name": "string",
		"ownerTeam": {
			"id": "string",
			"name": "string"
		},
		"repeat": {
			"closeAlertAfterAll": false,
			"count": 0,
			"resetRecipientStates": false,
			"waitInterval": 0
		},
		"rules": [
			{
				"condition": "if-not-acked",
				"delay": {
					"timeAmount": 0,
					"timeUnit": "minutes"
				},
				"notifyType": "default",
				"recipient": {
					"id": "Entity ID that the alert will be routed to. Either ID or name of the entity should be provided.",
					"type": "The type of entity the alert will be routed to.",
					"username": "Entity name that the alert will be routed to. Either ID or name of the entity should be provided."
				}
			}
		]
	},
	"requestId": "string",
	"took": 0
}
```

## Workflow Library Example

[Get Escalation with Opsgenie and Send Results Via Email](https://library.blinkops.com/workflows/get-escalation-with-opsgenie-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/get-escalation-with-opsgenie-and-send-results-via-email/canvas" />
</div>
