Add Phone to User

Add a phone contact to a Google Workspace user.

Input

Field Definition Type Required
User
User ID Unique identifier of the user. String TRUE
Phone
Phone Number Human-readable phone number (any telephone number format). String TRUE
Type Type of data returned.
  • assistant
  • callback
  • car
  • company_main
  • custom
  • grand_central
  • home
  • home_fax
  • isdn
  • main
  • mobile
  • other
  • other_fax
  • pager
  • radio
  • telex
  • tty_ttd
  • work
  • work_fax
  • work_mobile
  • work_pager
String FALSE
Custom Type Required, user defined value if the type is custom. String TRUE
Primary? Indicates whether this is the user's primary phone number. Boolean FALSE

Output

Field Definition Type
Status Code Result of the operation. The HTTP status code is returned by the connector and indicates whether the action taken by the card succeeded or failed. For example:
  • A 201 Created status code indicates success where a new resource was created.
  • A 403 Forbidden error indicates that the HTTP request was not processed because the necessary permissions were missing.

For a full list of possible status codes, see HTTP status codes.

Number

Related topics

Google Workspace Admin connector

About the elements of Okta Workflows

Google Workspace API documentation