Get
GET
/api/public/v1/profile
const url = 'https://app.kontera.ch/api/public/v1/profile';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.kontera.ch/api/public/v1/profileGet the current authenticated user and their organization
Responses
Section titled “Responses”Media typeapplication/json
object
userEmail
required
Email address of the user currently authenticated.
string
organizationName
required
Organization name of the org currently authorized for.
string
Examplegenerated
{ "userEmail": "example", "organizationName": "example"}