I am integrating mail chimp API in my rails project
I am using OAUTH2 API Documentation and following the below ref.http://developer.mailchimp.com/documentation/mailchimp/guides/how-to-use-oauth2/
It integrate successfully and return an access token.
My Project has a requirement that Admin can invite user
and give the permission of each user using Api same like below image.

Is there Any endpoint available in a API that accept the parameters
like access token,user_email and user_type and add/update the visitor same like web ?发布于 2017-09-14 12:49:50
在MailChimp 2.0中也有。它已经在3.0中被删除了(我不知道为什么)。当您邀请一个用户时,我正在尝试进行与站点相同的调用,但是API有一个集成的Chapcha /防伪方法,正如您在图片中看到的那样。
Request URL:https://us16.admin.mailchimp.com/account/users/invite-post
Request Method:POST
--BODY
email:[EMAIL]
role:author
welcome_msg:[Message] (Optional)
g-recaptcha-response:[CAPTCH]
__csrf_token:[TOKEN]

https://stackoverflow.com/questions/44431721
复制相似问题