Skip to content

api access #43

Answered by ucswift
feadrick asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @feadrick!

For the v3 api you'll need to authenticate with the API first /api/v3/Auth/Validate passing in Usr and Pass strings for your login. After that you'll get a payload back with a Tkn value that you'll need to pass in as a Basic Authorization header value with every request. See an example here for Angular https://github.com/Resgrid/BigBoard/blob/master/src/interceptors/http.interceptor.module.ts#L12.

Other values you'll get on the response payload, Txd is when the token expires.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by feadrick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants