Jump to: navigation, search

Create a custom contact

This operation is part of the Contacts API section of the Web Services API.

Overview

Creates a custom contact in the Genesys system.

Request URL /api/v2/contacts
HTTP Method POST
Required Features

Parameters

Parameter Description
name The name of the contact.
phoneNumber The phone number at which this contact get be reached.


Example

Request

POST /api/v2/contacts
{  
   "name":"My Custom Contact",
   "phoneNumber":"123-456-7899"
}

HTTP Response

{  
   "statusCode":0,
   "id":"c7d9109c-9942-4853-a5e8-0435b03024a4",
   "path":"/contact/c7d9109c-9942-4853-a5e8-0435b03024a4",
   "contact":"c7d9109c-9942-4853-a5e8-0435b03024a4",
   "uri":"http://dev-ip9-187.gws.genesys.com:8090/api/v2/contact/c7d9109c-9942-4853-a5e8-0435b03024a4"
}
This page was last edited on February 15, 2024, at 19:11.
Comments or questions about this documentation? Contact us for support!