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
demandé il y a 5 ans277 vues
4 réponses
0
Réponse acceptée

Yes, we have the createUser API available for that.

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

AWS
répondu il y a 5 ans
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
répondu il y a 5 ans
0

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

AWS
répondu il y a 5 ans
0

Thanks, @aws-mikec!

user
répondu il y a 5 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions