⬆️Request and Response
Request to the API endpoint
Last updated
Request to the API endpoint
Last updated
GET
https://api.alephcrm.com/v2/accounts/{accountId}/logintoken
Name | Type | Description |
---|---|---|
The API_KEY that was provided.
The Alephee account ID of the marketplaces you are trying to get.
The email address of the user that belongs to an existing user for whom a login token needs to be created. The email address has the standard format of any email address: xxxxx@yyyy.zzz The email address belongs to a user. The user must exist in Alephee and be associated with the account ID given in the “accountId” parameter. Failure to comply with these requirements will result in an authentication failure.
The Alephee module for which a token needs to be generated. Available values are: 1 = Alephee B2B portal (for Alephee B2B portal) 2 = WebAPI (for this API. Some endpoints needs a validation token)
Time to Live (TTL) refers to the amount of time in seconds that the generated token is valid. After that number of seconds, the generated token will be invalid and useless. Valid values are from 5 seconds to 60 seconds. The default value is 30 seconds.
API_KEY*
String
(default=none)
accountId
Integer
(default=none)
userEmail
String
(default=NULL)
module
Integer
(default=Alephee B2B)
ttl
Integer
(default=30)