Skip to main content

contact_methods

Overview

Namecontact_methods
TypeResource
Idpagerduty.users.contact_methods

Fields

NameDatatypeDescription
idstring
EmailContactMethod__typestring
EmailContactMethod_addressstringThe "address" to deliver to: email, phone number, etc., depending on the type.
EmailContactMethod_html_urlstringa URL at which the entity is uniquely displayed in the Web app
EmailContactMethod_idstring
EmailContactMethod_labelstringThe label (e.g., "Work", "Mobile", etc.).
EmailContactMethod_selfstringthe API show URL at which the object is accessible
EmailContactMethod_summarystringA short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to name, though it is not intended to be an identifier.
EmailContactMethod_typestringA string that determines the schema of the object. This must be the standard name for the entity, suffixed by _reference if the object is a reference.
PushContactMethod__typestring
PushContactMethod_addressstringThe "address" to deliver to: email, phone number, etc., depending on the type.
PushContactMethod_blacklistedbooleanIf true, this phone has been blacklisted by PagerDuty and no messages will be sent to it.
PushContactMethod_html_urlstringa URL at which the entity is uniquely displayed in the Web app
PushContactMethod_idstring
PushContactMethod_labelstringThe label (e.g., "Work", "Mobile", etc.).
PushContactMethod_selfstringthe API show URL at which the object is accessible
PushContactMethod_summarystringA short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to name, though it is not intended to be an identifier.
PushContactMethod_typestringA string that determines the schema of the object. This must be the standard name for the entity, suffixed by _reference if the object is a reference.
_typestring
addressstringThe "address" to deliver to: email, phone number, etc., depending on the type.
blacklistedbooleanIf true, this phone has been blacklisted by PagerDuty and no messages will be sent to it.
country_codeintegerThe 1-to-3 digit country calling code.
created_atstringTime at which the contact method was created.
device_typestringThe type of device.
enabledbooleanIf true, this phone is capable of receiving SMS messages.
html_urlstringa URL at which the entity is uniquely displayed in the Web app
labelstringThe label (e.g., "Work", "Mobile", etc.).
selfstringthe API show URL at which the object is accessible
send_short_emailbooleanSend an abbreviated email message instead of the standard email output. Useful for email-to-SMS gateways and email based pagers.
soundsarray
summarystringA short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to name, though it is not intended to be an identifier.
typestringA string that determines the schema of the object. This must be the standard name for the entity, suffixed by _reference if the object is a reference.

Methods

NameAccessible byRequired ParamsDescription
get_user_contact_methodSELECTcontact_method_id, idGet details about a User's contact method.

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

Scoped OAuth requires: users:contact_methods.read
get_user_contact_methodsSELECTidList contact methods of your PagerDuty user.

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

Scoped OAuth requires: users:contact_methods.read
create_user_contact_methodINSERTid, data__contact_methodCreate a new contact method for the User.

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

Scoped OAuth requires: users:contact_methods.write
delete_user_contact_methodDELETEcontact_method_id, idRemove a user's contact method.

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

Scoped OAuth requires: users:contact_methods.write
_get_user_contact_methodEXECcontact_method_id, idGet details about a User's contact method.

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

Scoped OAuth requires: users:contact_methods.read
_get_user_contact_methodsEXECidList contact methods of your PagerDuty user.

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

Scoped OAuth requires: users:contact_methods.read
update_user_contact_methodEXECcontact_method_id, id, data__contact_methodUpdate a User's contact method.

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

Scoped OAuth requires: users:contact_methods.write