API for Send Invite by Email address

0

Hi,
I'm looking for a way to send Email Invite programmatically.
SendInvitation API documentation [1] utilizes UserArn, while I'm looking for a way to send the invite via email address. I wonder if there is any API for this?
Thanks.
[1] https://docs.aws.amazon.com/a4b/latest/APIReference/API_SendInvitation.html

user
已提问 5 年前277 查看次数
4 回答
0
已接受的回答

Yes, we have the createUser API available for that.

https://docs.aws.amazon.com/a4b/latest/APIReference/API_CreateUser.html

AWS
已回答 5 年前
0

Thanks, milo@aws. So, the procedure is:

  1. Create a User with CreateUser API >> and obtain UserArn
  2. Use SendInvitation API and UserArn to send invite by email

Am I correct?

user
已回答 5 年前
0

Yes, that is correct. Use CreateUser -> UserArn -> SendInvitation. But also use PutInvitationConfiguration API to initialize your invitation email template.

AWS
已回答 5 年前
0

Thanks, @aws-mikec!

user
已回答 5 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则