Back to Aligni.com
Also see show action for detailed XML contact response example.

Create a new contact.

Examples

# request
curl -X POST -H 'Accept: application/xml' -H 'Content-Type: application/xml' -d "
<contact>
  <first_name>Jim</first_name>
  <last_name>Milspec</last_name>
  <email>jim@milspec.notreal</email>
  <job_position>CEO</job_position>
  <vendor_id>51</vendor_id>
</contact>" \
https://demo.aligni.com/api/v2/oid3vLgynoy_Yl1gZkrgkLEq3J/contact

# response (for detailed contact XML see show action)
<contact>
  ...
</contact>

Params

Param name Description
api_token
required

Your API token.


Value: Must be a String