Login/password
Last updated
Last updated
POST
https://api.directual.com/good/api/v5/auth?appID=?
Name | Type | Description |
---|---|---|
appID* | String | API-key |
Name | Type | Description |
---|---|---|
provider* | string | rest |
username* | string | username |
password* | string | password |
Get the appID
from the API section in your Directual project under API-keys.
The login is the ID of the object from the WebUser data structure, and the password is stored encrypted.
You can use the following cURL command to make a POST request to the Directual API:
In the response, the token represents the sessionID of the user, and it is stored in the WebUserSession system data structure. You can use this token for subsequent authenticated requests.