Skip to main content
Answer

Getting Author_id using api call.

  • March 22, 2024
  • 1 reply
  • 172 views

sharad52
Forum|alt.badge.img

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
Forum|alt.badge.img+8
  • Fronteer
  • Answer
  • 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.