INTRODUCTION
Welcome to the effyAPI! You can use our API to access various effy endpoints, which can get information and trigger actions.
This API documentation is an internal confidential document and assumes that you have received the necessary credentials to access the API.
GENERATE TOKEN
effyAPI requires a token to be passed along with all API calls to allow access. generatetoken method is used to generate and return the token.
https://<<apiurl>>/generatetoken
Query (POST)
| Parameter | Type | Description |
|---|---|---|
| userid | Integer | The ID of the user who is requesting the token |
| usertype | Text (1) | A, P or L A for Admin P for Partner L for Lead |
| hash | Text | Computed Hash value (Refer to welcome mail for the code) |
| tstamp | Text | Timestamp in the required format (Refer to welcome mail for format) |
Response : Token (text) that can be saved in database for reuse till validity (timestamp).