Get user for the given identifier.

External Documentation

To learn more, visit the Opsgenie documentation.

Parameters

ParameterDescription
ExpandComma separated list of strings to create a more detailed response. The only expandable field for user api is ‘contact’.
IDIdentifier of the user to be searched.

Example Output

{
	"data": {
		"blocked": false,
		"createdAt": "date-time",
		"details": {},
		"fullName": "string",
		"id": "string",
		"locale": "Location information of the user. If not set, locale of the customer will be used instead.",
		"mutedUntil": "date-time",
		"role": {
			"id": "string",
			"name": "string"
		},
		"skypeUsername": "Skype username of the user",
		"tags": [
			"string"
		],
		"timeZone": "Timezone of the user. If not set, timezone of the customer will be used instead.",
		"userAddress": {
			"city": "string",
			"country": "string",
			"line": "string",
			"state": "string",
			"zipCode": "string"
		},
		"userContacts": [
			{
				"contactMethod": "string",
				"disabledReason": "string",
				"enabled": false,
				"id": "string",
				"to": "string"
			}
		],
		"username": "string",
		"verified": false
	},
	"expandable": [
		"string"
	],
	"requestId": "string",
	"took": 0
}

Workflow Library Example

Get User with Opsgenie and Send Results Via Email

Preview this Workflow on desktop

Get user for the given identifier.

External Documentation

To learn more, visit the Opsgenie documentation.

Parameters

ParameterDescription
ExpandComma separated list of strings to create a more detailed response. The only expandable field for user api is ‘contact’.
IDIdentifier of the user to be searched.

Example Output

{
	"data": {
		"blocked": false,
		"createdAt": "date-time",
		"details": {},
		"fullName": "string",
		"id": "string",
		"locale": "Location information of the user. If not set, locale of the customer will be used instead.",
		"mutedUntil": "date-time",
		"role": {
			"id": "string",
			"name": "string"
		},
		"skypeUsername": "Skype username of the user",
		"tags": [
			"string"
		],
		"timeZone": "Timezone of the user. If not set, timezone of the customer will be used instead.",
		"userAddress": {
			"city": "string",
			"country": "string",
			"line": "string",
			"state": "string",
			"zipCode": "string"
		},
		"userContacts": [
			{
				"contactMethod": "string",
				"disabledReason": "string",
				"enabled": false,
				"id": "string",
				"to": "string"
			}
		],
		"username": "string",
		"verified": false
	},
	"expandable": [
		"string"
	],
	"requestId": "string",
	"took": 0
}

Workflow Library Example

Get User with Opsgenie and Send Results Via Email

Preview this Workflow on desktop