Rest api with node

i want to use this rest api :
in what do i need to replace the header section ?

fetch('', {
  method: 'GET',
  headers: {
    'Authorization': `Basic ${Buffer.from(
    'Accept': 'application/json'

Hi @idanfarbman,

If you are asking about the Authorization part of the header, using basic authentication would require you to use a user email and API token pair i.e. replace “” with a user’s email with the necessary permissions mentioned in the REST API’s docs, and replace “api_token” with a generated API token for the user.

For more information, kindly check out this Basic auth for REST APIs documentation.

Hope this helps.