Skip to main content
August 1, 2025
Question

REST API Execute LogonAndReturnCookie

  • August 1, 2025
  • 1 reply
  • 0 views

I am trying to determine if we are using any REST APIs. We were instructed to run a logonandreturncookie via Postman.

https://documentation.onestream.com/1384528/Content/PDFs/REST_API_Implementation_Guide.pdf

I followed the instructions in page 26 and ran into this error message: Error: Invalid character in header content ["Authorization"]

I entered "{{webapi_access_token}}", similar to the screenshot in page 27. I hovered over the token and saw a message stating it's not defined.



 




Where should I set up this variable or is there an issue with my params/body?

 

1 reply

September 3, 2025

That needs to contain a token retrieved from your authentication provider (Azure, Okta, or PingFederate). How you retrieve the token will depend on the specific provider. Once you have it, you can use it to send requests to OneStream.