This endpoint is used to create a temporary, Agency-specific, access token to be used in the Authentication header of subsequent requests to the rest of the API. The bearer token used for this endpoint is an integration secret key, if you do not have this key, please contact your Root representative. All the parameters to this endpoint are optional, choose the combination that works best for your integration. Using agent info while creating a token will default subsequent quotes as attributed to that agent. If the parameters provided are not specific enough, you will receive the possible token references in the response and you should make a subsequent request with one of those tokenReferences to disambiguate what access is being granted. If the parameters do not find any valid reference to create a token for, then an error response will be given. The successful response will contain your temporary token and describe when it will expire in epoch time. Note: Once the token expires, you will need to generate a new token the same way. It is possible the token can be invalidated early if misuse is suspected.
post
https://app.partner-testing.joinroot.com/bind_api/v3/auth/token