1. Tasks
  2. Add Contact

Tasks

Add Contact

The Add Contact task adds a contact to a stub's pre-existing contact list.

Basic usage

Add a contact to the Field Technicians contact list.

loading...

Parameters

list_name

required
string

The name of the list to add the contact to.


contactuuid

optional
string

The contactuuid of the contact to which to add to the list.


type

optional
string

The type of contactpoint associated with the contactuuid to be added to the list.

Options: email stubberhandle mobile
Refer to the Contacts documentation for more information on the type of contactpoints.

required
if contactuuid is not provided.

contactpoint

optional
string

The contact's contactpoint to be added to the list. If the contactuuid associated with the contactpoint is not already in the list, it will be added.

required
if contactuuid is not provided.

Result

loading...

Properties

list_name

string

The name of the list the contact was added to.

contactuuid

string

The contact's unique identifier which was added to the contact list.

Examples

These are some more complex examples

Add Contact using email contact point

loading...

Result

loading...