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
feita há 5 anos277 visualizações
4 Respostas
0
Resposta aceita

Yes, we have the createUser API available for that.

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

AWS
respondido há 5 anos
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
respondido há 5 anos
0

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

AWS
respondido há 5 anos
0

Thanks, @aws-mikec!

user
respondido há 5 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas