v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-137516.8 KB
organizations

Allows a contact admin to send a test message to contact to verify that it has been configured correctly.

post/v1/{+resource}/contacts:sendTestMessage

Path parameters

resourcestring required

Required. The name of the resource to send the test message for. All contacts must either be set directly on this resource or inherited from another resource that is an ancestor of this one. Format: organizations/{organization}, folders/{folder} or projects/{project} (where {project} is the project number)

Request body

contactsstring[]

Required. The list of names of the contacts to send a test message to. Format: organizations/{organization}/contacts/{contact}, folders/{folder}/contacts/{contact} or projects/{project}/contacts/{contact} (where {project} is the project number)

notificationCategory'NOTIFICATION_CATEGORY_UNSPECIFIED' | 'ALL' | 'SUSPENSION' | 'SECURITY' | 'TECHNICAL' | 'BILLING' | 'LEGAL' | 'PRODUCT_UPDATES' | 'TECHNICAL_INCIDENTS'

Required. The notification category to send the test message for. All contacts must be subscribed to this category.

Response

Successful response