POST api/chatbot/users
This method will persist new messanger user as the user who contacted/interracted with chatbot; subscribed user
Request Information
URI Parameters
None.
Body Parameters
Instance of . Manychat user data
ManychatUserProfileName | Description | Type | Additional information |
---|---|---|---|
key | string |
None. |
|
id | string |
None. |
|
page_id | string |
None. |
|
status | string |
None. |
|
first_name | string |
None. |
|
last_name | string |
None. |
|
name | string |
None. |
|
gender | string |
None. |
|
profile_pic | string |
None. |
|
locale | string |
None. |
|
english | string |
None. |
|
timezone | string |
None. |
|
live_chat_url | string |
None. |
|
last_input_text | string |
None. |
|
subscribed | date |
None. |
|
last_interraction | date |
None. |
|
last_seen | date |
None. |
|
last_growth_tool | string |
None. |
|
custom_fields | ChatbotCustomFields |
None. |
Request Formats
application/json, text/json
Sample:
{ "key": "sample string 1", "id": "sample string 2", "page_id": "sample string 3", "status": "sample string 4", "first_name": "sample string 5", "last_name": "sample string 6", "name": "sample string 7", "gender": "sample string 8", "profile_pic": "sample string 9", "locale": "sample string 10", "english": "sample string 11", "timezone": "sample string 12", "live_chat_url": "sample string 13", "last_input_text": "sample string 14", "subscribed": "2025-05-20T15:00:27.7015916-05:00", "last_interraction": "2025-05-20T15:00:27.7015916-05:00", "last_seen": "2025-05-20T15:00:27.7015916-05:00", "last_growth_tool": "sample string 18", "custom_fields": { "user_disability_level": 1, "user_low_income": true, "user_on_active_duty": true, "user_65_or_older": true, "prop_county": "sample string 4", "prop_is_foreclosure": true, "user_return_from_service_year": 1, "discount_code": "sample string 6", "prop_purchase_date": "2025-05-20T15:00:27.7015916-05:00", "prop_purchase_price": 1, "prop_township": "sample string 7", "user_phone_number": "sample string 8", "prop_zipcode": 1, "prop_address_or_pin": "sample string 9" } }
text/html
Sample:
{"key":"sample string 1","id":"sample string 2","page_id":"sample string 3","status":"sample string 4","first_name":"sample string 5","last_name":"sample string 6","name":"sample string 7","gender":"sample string 8","profile_pic":"sample string 9","locale":"sample string 10","english":"sample string 11","timezone":"sample string 12","live_chat_url":"sample string 13","last_input_text":"sample string 14","subscribed":"2025-05-20T15:00:27.7015916-05:00","last_interraction":"2025-05-20T15:00:27.7015916-05:00","last_seen":"2025-05-20T15:00:27.7015916-05:00","last_growth_tool":"sample string 18","custom_fields":{"user_disability_level":1,"user_low_income":true,"user_on_active_duty":true,"user_65_or_older":true,"prop_county":"sample string 4","prop_is_foreclosure":true,"user_return_from_service_year":1,"discount_code":"sample string 6","prop_purchase_date":"2025-05-20T15:00:27.7015916-05:00","prop_purchase_price":1,"prop_township":"sample string 7","user_phone_number":"sample string 8","prop_zipcode":1,"prop_address_or_pin":"sample string 9"}}
application/xml, text/xml
Sample:
<ManychatUserProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.WebModels.Chatbots"> <CustomeFields> <DiscountCode>sample string 6</DiscountCode> <PropAddressOrPin>sample string 9</PropAddressOrPin> <PropCounty>sample string 4</PropCounty> <PropIsForeclosure>true</PropIsForeclosure> <PropPurchaseDate>2025-05-20T15:00:27.7015916-05:00</PropPurchaseDate> <PropPurchasePrice>1</PropPurchasePrice> <PropTownship>sample string 7</PropTownship> <PropZipcode>1</PropZipcode> <User65OrOlder>true</User65OrOlder> <UserDisabilityLevel>1</UserDisabilityLevel> <UserLowIncome>true</UserLowIncome> <UserOnActiveDuty>true</UserOnActiveDuty> <UserPhoneNumber>sample string 8</UserPhoneNumber> <UserReturnFromServiceYear>1</UserReturnFromServiceYear> </CustomeFields> <English>sample string 11</English> <FirstName>sample string 5</FirstName> <Gender>sample string 8</Gender> <Id>sample string 2</Id> <Key>sample string 1</Key> <LastGrowthTool>sample string 18</LastGrowthTool> <LastInputText>sample string 14</LastInputText> <LastInterraction>2025-05-20T15:00:27.7015916-05:00</LastInterraction> <LastName>sample string 6</LastName> <LastSeen>2025-05-20T15:00:27.7015916-05:00</LastSeen> <LiveChatUrl>sample string 13</LiveChatUrl> <Locale>sample string 10</Locale> <Name>sample string 7</Name> <PageId>sample string 3</PageId> <ProfilePic>sample string 9</ProfilePic> <Status>sample string 4</Status> <Subscribed>2025-05-20T15:00:27.7015916-05:00</Subscribed> <TimeZone>sample string 12</TimeZone> </ManychatUserProfile>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
True/False
booleanResponse Formats
application/json, text/json, text/html
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>