"Contact Api" is used to send the contact details to any desired App with the help of "Zapier". By calling the contact Api, the contact details are sent to the "webhook url" provided by Zapier. Once the data is sent to the webhook url , the data is stored/synced in the app that you selected when creating a Zap.
Endpoints
POST /api/v1/zapier/contact
Request Details
Request URL
{{api-domain}}/api/{{version}}/zapier/contact
Request Parameters
Fields
1.) First Name:
Possible values | Default Value | Required |
String | Not specified | Yes |
2.) Last Name:
possible values | Default Value | Required |
String | Not specified | No |
3.) Email:
possible values | Default Value | Required |
String | text | Not specified | No |
4.) Phone:
possible values | Default Value | Required |
Number | Not specified | No |
Sample Request
const request = { data: {Contact details}, action: "create contact", url: "https://app.assistro.co/api/v1/zapier/contact" method: "POST" }
Sample Response
Success
{ "email": "johndoe@gmail.com", "first_name": "John", "last_name": "Doe", "phone": "(555) 555-1234" }
Error
{ "message": "Looks like there is no active Zap for this action", "success": false, "status": 0 }
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article