GET - Webhook Token
With Trimble Visibility webhooks, users are able to keep their source system up to date with information generated and collected within the Freight Portal. Below we will get you started by describing how to subscribe to a web hook event.
First you need to get an authorized webhook token. The Bearer token needed will be the API token used that is generated for use with your API service calls. The URL root is your freight portal domain such as uat.10-4.com or cloud.10-4.com
HTTP Verb: GET
URI: https://URL/profile/users/token?clientId=bed941de-486c-41f5-a9ad-51af1c3d2e08
Authentication: Bearer Token
Response:
Note: Token in example is not a valid token intentionally
{
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJlbWFpbCI6InJlZ3Jlc3Npb25AZXhhbXBsZS5jb20iLCIxMC00L09yZ2FuaXphdGlvbklkIjoiZmFjNTFiZDktM2E2My00M2QxLThhZTYtNzBmYTE3MWNiYjg3IiwiMTAtNC9Pcmdhbml6YXRpb25OYW1lIjoiUmVncmVzc2lvbiBTaGlwcGVyIiwiMTAtNC9MZWdhY3lPcmdhbml6YXRpb25JZCI6IjE4IiwiZ2l2ZW5fbmFtZSI6IkVtYWlsIiwiZmFtaWx5X25hbWUiOiJ0ZXN0IiwiMTAtNC9EZWZhdWx0QXBwbGljYXRpb25Sb2xlVHlwZSI6IlNoaXBwZXIiLCIxMC00L0ZpbHRlciI6IltdIiwib2lkIjoiODZjMGUxNmEtM2E3OC00NDM4LThlYjMtYjg0NTBkNTM5MDQ0IiwiaXNzIjoiaHR0cHM6Ly9kZW1vLjEwLTQuY29tIiwiYXVkIjoiYmVkOTQxZGUtNDg2Yy00MWY1LWE5YWQtNTFhZjFjM2QyZTA4IiwiZXhwIjoxNTU0OTU5OTI5LCJuYmYiOjE1NTQ5MDk1Mjl9.T-OovJGt38a_9_Q4e-gi_Mj6_n-KpgAGy1FEzqybKk1SPffbRw3ZQvqWwZGLwvR2I6utZ2MGPHn882h_nV1oRIu-wFm5QOzT6IW--yRMyiw-GLB1zDGeqwlYT0K-Pm-JtTRlFvcj868X9zWxc1TfmmriXBU2aYt6jMJrAN8ehf-4BxauTQiDxbLN3PV6KwYwlnyb"
}
Updated about 2 months ago