Providing a JWT
Producers can also authenticate themselves by including a JSON Web Token (JWT) in the header of the request. The validity of the JWT is 60 minutes.
To provide a JWT
| 1. | Call https://<siteID>.flexnetoperations.com/data/api/v1/authenticate to obtain the JWT. |
| 2. | Add the "Authorization" key to the header of the request, with the JWT as the value, so that it resembles this example: |
Authorization: Bearer
eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjE1NTcwOTEwOTl9.PMMvCRlOkTCtS1pDIKzEHIvEjIctvc5RrN2keQCU5AUp-tg1ekIXOOtuaHKZJEfVFdmZqvDulI47t5_vcB_VeFbl2QQirvzkrg1YHbyZMLmc_jMSSsgAqvSlaz83jOU7lJvF_bZl_xv5O3jb5MJDoD6v4Miuc-J46hJGe4UvEc