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
asked 5 years ago253 views
4 Answers
0
Accepted Answer

Yes, we have the createUser API available for that.

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

AWS
answered 5 years ago
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
answered 5 years ago
0

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

AWS
answered 5 years ago
0

Thanks, @aws-mikec!

user
answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions