cURL
curl --request POST \ --url https://api.goil.com/api/v1/external/authentication/login \ --header 'Content-Type: application/json' \ --data ' { "externalId": "<string>", "businessId": "<string>", "clientPlatform": "<string>" } '
{ "data": { "accessToken": "<string>" } }
Obtiene un accessToken para el cliente. El businessId puede ir en body o en header x-client-id.
businessId
x-client-id
Identificador externo del usuario/integración
ID del negocio (también puede enviarse por header x-client-id)
Plataforma cliente (opcional)
OK
Show child attributes