Aliaddo HUB icon

Aliaddo HUB

Autenticación contra el Hub de Aliaddo (Ali) firmando las peticiones con HMAC-SHA256

Autorizar Empresa

AI-generated

Summary

Authorize a user for a specific Aliaddo company by sending their phone or user ID, product ID, and company ID to Aliaddo HUB. The request uses the required Aliaddo HUB API credentials and returns the access token.

Inputs

  • Teléfono / User ID (required) — Phone number or user identifier to authorize.
  • Product ID — Product associated with authentication; defaults to 2.
  • Company ID (required) — Unique ID of the company to authorize the user in.

Output shape

A single item containing a token field.

The node sends a POST request to /auth/ali/authorize and returns the response as { "token": <response> }. Request errors are raised as node operation errors; with Continue On Fail enabled, the item contains an error object instead.

Links

Discussion