{"structure":{"routes":[{"path":"/","description":"This endpoint is used for getting an overview over all available endpoints. It can also be used for testing if the API is online and reachable. The endpoint returns a JSON-Object with Status 200 on success.","type":"GET"},{"path":"/email/test","description":"This endpoint is used to test E-Mail Sending capabilties of the API by submitting an E-Mail-Address. The endpoint returns a JSON-Object with Status 200 on success.","type":"POST","expectedPayload":{"email":"max.mustermann@mail.com"},"regularResponse":{"state":true,"msg":"Successfully sent Mail to 'max.mustermann@mail.com'!","code":200}},{"path":"/email/send","description":"This endpoint is used to send E-Mails. The body can either be html or regular text. The bodyType must be set accordingly. The endpoint returns a JSON-Object with Status 200 on success.","type":"POST","expectedPayload":{"to":"max.mustermann@mail.com","from":"mia.mustermann@mail.com","name":"Mia Mustermann","subject":"This is the Subject Line","body":"<h1>This is an html body</h1>","bodyType":"html"},"regularResponse":{"state":true,"msg":"Successfully sent Mail to 'max.mustermann@mail.com'!","code":200}},{"path":"/ticket/new","description":"This endpoint is used to create a new Ticket in the Database and send notifications to the initiator and the team. The endpoint returns a JSON-Object with Status 200 on success.","type":"POST","expectedPayload":{"firstName":"Max","lastName":"Mustermann","email":"max.mustermann@mail.com","subject":"My Ticket is about...","message":"Ticket-Details..."},"regularResponse":{"state":true,"msg":"Successfully created new Ticket 'My Ticket is about...'!","code":200}}]}}