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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南