Difference between revisions of "API:People:Create"

From docs
Jump to: navigation, search
(Created page with "== API » Create Personnel HTML == '''URL:''' <nowiki>https://app.callproof.com/api/contact/personnel/create/</nowiki> '''Method:''' POST '''Required Fields:''' *...")
 
Line 19: Line 19:
 
* '''''personnel[title]''''' - Title of personnel
 
* '''''personnel[title]''''' - Title of personnel
 
* '''''personnel[role_id]''''' - Role id for personnel
 
* '''''personnel[role_id]''''' - Role id for personnel
 +
* '''''personnel[phones]''''' - list of numbers - e.g. - ['6604948071', '16152554001']
  
  

Revision as of 09:28, 24 May 2019

API » Create Personnel HTML

URL: https://app.callproof.com/api/contact/personnel/create/

Method: POST

Required Fields:

  • api_key[key] - API Key
  • api_key[secret] - API Key Secret
  • personnel[first_name] - First name of personnel
  • personnel[contact_id] - Contact id of contact

Optional Fields:

  • personnel[last_name] - Last name of personnel
  • personnel[email] - Email of personnel
  • personnel[notes] - Notes of personnel
  • personnel[title] - Title of personnel
  • personnel[role_id] - Role id for personnel
  • personnel[phones] - list of numbers - e.g. - ['6604948071', '16152554001']


Data Returned:

  • results - Array containing updated Personnel details
  • errors - Array of errors produced by the request
  • code - HTTP request status