Invite Templates
List Invite Templates
Get the list of invite templates.
get/inviteTemplates
Query parameters
sizeinteger
Example:50
The number of objects you want returned in a collection.
cursorstring
Uses the filter values of the previous page to determine the next set of items.
Response
OK
Example response
{
"code": "OK",
"message": "Success",
"requestId": "5b79399a-6852-4234-bb0e-ad472648282d",
"data": {
"nextCursor": "1259723474",
"items": [
{
"id": "17bbf36498de4d68a0d4f86c7b62f69f",
"name": "Email Template v1",
"company": {
"name": "XYZ Bank",
"logoUrl": "https://xyzbank.co/logo.png"
},
"email": {
"senderName": "XYZ Bank",
"replyAddress": "replies@xyz.co",
"subject": "Please connect your work account to share your data with us",
"body": "Hello ${firstName}! We are working with our partner, Smile API, so you can easily share your employment and income data to us as a requirement for giving you service. It will be a quick process and should take no more than a few seconds of your time."
},
"landingPage": {
"header": "Share your employment and income data with us at ${companyName}",
"description": "We are working with our partner, Smile API, so you can easily share your employment and income data to us as a requirement for giving you service. It will be a quick process and should take no more than a few seconds of your time.",
"button": "START NOW"
},
"successPage": {
"header": "Thank you for sharing your employment and income data with us at ${companyName}",
"description": "The process was successful! Please wait for us to get in touch!",
"button": "Connect another account"
}
}
]
}
}