GET https://api.speakap.io/whoami
Request
URI: | /whoami |
---|---|
Method: | GET |
Accept: | application/vnd.speakap.api-v1.8.2+json+hal |
Authentication: | OAuth 2.0 |
Response
Relation | Description |
---|---|
user | The actual user resource |
networks | The networks the user is a member of |
networkInvites | The networks the user has pending invitations for |
{
"_links": {
"self": {
"href": "https://api.speakap.io/networks/FEDCBA0987654321/whoami"
},
"networks": {
"href": "https://api.speakap.io/networks/?user=1234567890ABCDEF"
},
"networkInvites": {
"href": "https://api.speakap.io/networks/?user=1234567890ABCDEF&invited=true"
}
},
"_embedded": {
"user": {
"_links": {
"self" {
"href": "https://api.speakap.io/networks/FEDCBA0987654321/users/1234567890ABCDEF/"
}
},
"EID": "1234567890ABCDEF",
"fullName": "John Doe",
"avatarUrl": "http://vault.speakap.com/file/1234567890ABCDEF"
}
}
}