This user's display name and home location
GET
/api/v1/profile
const url = 'http://localhost:11044/api/v1/profile';const options = {method: 'GET', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:11044/api/v1/profile \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”OK
Media type*/*
The signed-in user’s display name and home location, answered by GET /profile and by the profile writes
object
displayName
required
The name the assistant uses for this user. Never null: until a name is set it falls back to the account’s id
string
home
Home location, or null when none is set
object
label
Human-readable label, e.g. home
string
latitude
WGS84 latitude in decimal degrees, or null when only a label is known
number format: double
longitude
WGS84 longitude in decimal degrees, or null when only a label is known
number format: double

