Hello, we’re trying to customize our organization invitation template (using a custom email provider). According to the documentation we should be able to reference an inviter.name
property, but it’s missing from the template. I added the {%debug%}
into the template, but the property is absent.
Fortunately, I’m able to see the user_metadata object when sending the following body on the create invitation API request. (to use this as a fallback value since the correct property is missing) But I’m not sure why the expected inviter.name
doesn’t show
"inviter": {
"name": "Example Name"
},
"invitee": {
"email": "example@example.com"
},
"send_invitation_email": true,
"client_id": "<client_id>",
"user_metadata": {
"inviterName": "backup name since inviter.name is missing"
}