Solved

Getting Author_id using api call.

  • 22 March 2024
  • 1 reply
  • 13 views

Badge

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)?

icon

Best answer by jason 22 March 2024, 16:18

View original

1 reply

Userlevel 4
Badge +7

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. 

Reply