{"_id":"55b79144568be2230092ba94","editedParams2":true,"githubsync":"","project":"55aa7d973be8f60d00041d42","editedParams":true,"parentDoc":null,"version":{"_id":"55aa7d983be8f60d00041d45","__v":20,"project":"55aa7d973be8f60d00041d42","createdAt":"2015-07-18T16:23:52.273Z","releaseDate":"2015-07-18T16:23:52.273Z","categories":["55aa7d983be8f60d00041d46","55aacf4e3be8f60d00041d89","55aacfaae2bdcb0d00c7466e","55aacfb3e2bdcb0d00c7466f","55aacfca3be8f60d00041d8a","55b67da3f8105a2f00c351ab","55b7cae4aea7c8190058ba5b","55b9218afeef5135009b7db3","55c182616d7d2921006da013","5631407afa40240d007c8c60","56548b9c9c4c6d0d00aeda0c","572b9137ff3ba10e00b4abb4","572b9150ff3ba10e00b4abb5","581b83288ca41f0f007e4fb6","585065fa70cbe00f00835bb8","58641eba0355f31900380492","58861760b4816e19005c9941","58a316cb254c401b00a049ce","58ac80dbd5e1570f00d1c328","59f72b4991121a00104f036e"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"__v":14,"category":{"_id":"55aacfca3be8f60d00041d8a","version":"55aa7d983be8f60d00041d45","__v":17,"pages":["55b78741568be2230092ba73","55b79032568be2230092ba91","55b79144568be2230092ba94","55b79738aea7c8190058b972","55b7aa36aea7c8190058b9bf","55b7e64b568be2230092bbe9","55b7e66a31bccb190081c0fa","55b8f2a7146ef121002157c7","55b8f3b28fd1a02b00f4958c","55b8f4378fd1a02b00f4959f","55b91058146ef1210021583f","55b928c3146ef1210021589c","55b9290f8fd1a02b00f49694","55bbe8b7b72bad0d00c0d5dd","56548c8e9c4c6d0d00aeda0f","5654a2a9892a0d2b00cedc0c","5654a46e0af52835008e77a2"],"project":"55aa7d973be8f60d00041d42","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-07-18T22:14:34.596Z","from_sync":false,"order":7,"slug":"contacts","title":"Contacts"},"user":"55aa7d625d3abb0d0012f3da","updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-07-28T14:27:16.084Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"method":"post","results":{"codes":[{"code":"","language":"text"}]},"settings":"","examples":{"codes":[{"language":"json","code":"{\n  name: \"John\",\n  email: \"john:::at:::somedomain.com\",\n  phone: \"+54 11 9999-9999\",\n  websiteId: \"55b7dce30364dfc80124b6aa\",\n  status: \"new\",\n  message: \"Hi! I'm John\", \n  customFields : {\n  \t\tcustomFieldKey1: '123456789', \n  \t\tcustomFieldKey2: 'superValue'\n  }\n  channel: \"FORM\"\n}","name":""}]},"auth":"required","params":[{"_id":"55b791d3aea7c8190058b94a","ref":"","in":"body","required":true,"desc":"Website","default":"","type":"string","name":"websiteId"},{"_id":"55b791d3aea7c8190058b94e","ref":"","in":"body","required":false,"desc":"Contact Name","default":"","type":"string","name":"name"},{"_id":"55b791d3aea7c8190058b94d","ref":"","in":"body","required":false,"desc":"E-mail contact","default":"","type":"string","name":"email"},{"_id":"55b791d3aea7c8190058b94c","ref":"","in":"body","required":false,"desc":"Phone","default":"","type":"string","name":"phone"},{"_id":"55b791d3aea7c8190058b949","ref":"","in":"body","required":false,"desc":"IP","default":"","type":"string","name":"ip"},{"_id":"55b791d3aea7c8190058b948","ref":"","in":"body","required":false,"desc":"Conversion URL","default":"","type":"string","name":"conversionUrl"},{"_id":"55b791d3aea7c8190058b947","ref":"","in":"body","required":false,"desc":"Landing URL","default":"","type":"string","name":"landingUrl"},{"_id":"55b791d3aea7c8190058b946","ref":"","in":"body","required":false,"desc":"Message","default":"","type":"string","name":"message"},{"_id":"55b7d84a31bccb190081c0c0","ref":"","in":"body","required":false,"desc":"Free external reference","default":"","type":"string","name":"externalStatus"},{"_id":"5abbd92052432700129dcc1c","ref":"","in":"body","required":false,"desc":"Channel","default":"","type":"string","name":"channel"}],"url":"/contacts"},"isReference":false,"order":1,"body":"","excerpt":"Add contact","slug":"contact","type":"endpoint","title":"/contacts"}

post/contacts

Add contact

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

websiteId:
required
string
Website
name:
string
Contact Name
email:
string
E-mail contact
phone:
string
Phone
ip:
string
IP
conversionUrl:
string
Conversion URL
landingUrl:
string
Landing URL
message:
string
Message
externalStatus:
string
Free external reference
channel:
string
Channel

Examples


User Information

Try It Out

post
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}