|docs
Start Trial

Get the current user

Get details about the current user.

This endpoint can only be used with a user-level API key or a key generated through an OAuth flow. This will not work if the request is made with an account-level access token.

Users are members of a PagerDuty account that have the ability to interact with Incidents and other data on the account.

For more information see the API Concepts Document

Authorization<token>

The API Key with format Token token=<API_KEY>

In: header

Query Parameters

include[]?string

Array of additional Models to include in response. Use calendar_urls to include http_cal_url and web_cal_url; account admins with can_update_user may use this to retrieve another user's calendar feed URLs. Note that these URLs are bearer credentials: anyone with the URL can read that user's on-call calendar.

Value in

  • "contact_methods"
  • "notification_rules"
  • "teams"
  • "subdomains"
  • "calendar_urls"

Header Parameters

Accept*string

The Accept header is used as a versioning header.

Default"application/vnd.pagerduty+json;version=2"
Content-Type*"application/json"
Default"application/json"

Value in

  • "application/json"

Response Body

application/json

application/json

application/json