Skip to main content
sharad52
Conversationalist
March 22, 2024
Solved

Getting Author_id using api call.

  • March 22, 2024
  • 1 reply
  • 312 views

Greetings community, After scrutinizing the each Front Apis in dev documentation, i wonder how to get front user email. As i didn’t found any relevant way to fetch this. 

Also ho can i get author_id using the OAuth token (access_token)?

Best answer by jason

Front users (referred to as Teammates) can be fetched via the /teammates endpoints. Those endpoints will return the email each teammate uses to log in to Front. 

Regarding the author_id question, an author.id field will be present on some Message objects where a Teammate sent the message; the author object should be null otherwise. 

1 reply

jason
jasonAnswer
Fronteer
March 22, 2024

Front users (referred to as Teammates) can be fetched via the /teammates endpoints. Those endpoints will return the email each teammate uses to log in to Front. 

Regarding the author_id question, an author.id field will be present on some Message objects where a Teammate sent the message; the author object should be null otherwise.