Create a Sponsor
POST /sponsors
Create a new sponsor.
Attributes
URL of the sponsor's logo. Image file must be publicly accessible and use the https
protocol.
1
and 5
. false
List of speakers associated with the sponsor. Each speaker requires a valid email address.
If an email address does not correspond to an existing user with a speaker role, the platform will try to create a new account with the given data and grant it the speaker role.
If an account already exists with the given email address, it will be added to the sponsor as is and will not be updated with transmitted data.
speaker
attributes
Username of the speaker. If none is defined, one will be automatically created with a sanitized combination of the last name, the first name, and a random 4-digit number.
Sample generated username: doe.jane#0000
Image URL for speaker's avatar. Image file must be publicly accessible and use the https
protocol.
false
URL of the icon representing the sponsor. Image file must be publicly accessible and use the https
protocol.
Options related to the sponsor.
options
attributes
false
false
Sample request body
{
"name": "Super Sponsor",
"logo": "https://domain.com/logo-link.jpg",
"level": 3,
"hasPage": true,
"pageContent": "Empower Your Journey",
"website": "https://domain.com",
"speakers": [
{
"email": "speaker@domain.com",
"firstName": "Jane",
"lastName": "Doe",
"username": "SuperJane",
"avatar": "https://domain.com/image-link.jpg",
"job": "Tester",
"company": "Comp Limited",
"tags": ["Mentor", "Host"],
"timezone": "Europe/Paris",
"highlighted": false
}
],
"icon": "https://domain.com/icon-link.jpg",
"color": "#ff5733",
"options": {
"displayInLobby": true,
"highlight": false
}
}
Returns
If all provided data are valid and the sponsor is created successfully, the response will return the following attributes. Otherwise, it will return an error.
List of speakers added to the sponsor with reduced attributes.
speaker
attributes
Passwords are automatically generated following the platform password settings for new speakers and are to be sent to the concerned users. We highly recommend asking the speaker to change their password when they first connect to the platform.
This attribute is never sent for existing speakers. User passwords are stored securely as described in our Password policy
Warning
The password should not be stored and is only returned so you can send it to the speaker.