createContact

fun createContact(contact: Contact, onCompletion: (SippoResourceError?) -> Unit)

Adds a new contact.

Parameters

contact

Contact to be added.

onCompletion

Callback that will be invoked when the request is completed. It will receive the added contact in case of success or a SippoResourceError otherwise.