首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在邮件黑猩猩中使用Api邀请用户

如何在邮件黑猩猩中使用Api邀请用户
EN

Stack Overflow用户
提问于 2017-06-08 09:25:27
回答 1查看 200关注 0票数 1
代码语言:javascript
复制
 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/

代码语言:javascript
复制
 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. 

代码语言:javascript
复制
 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 ?
EN

回答 1

Stack Overflow用户

发布于 2017-09-14 12:49:50

在MailChimp 2.0中也有。它已经在3.0中被删除了(我不知道为什么)。当您邀请一个用户时,我正在尝试进行与站点相同的调用,但是API有一个集成的Chapcha /防伪方法,正如您在图片中看到的那样。

代码语言:javascript
复制
 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]

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/44431721

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档