createMockUsers
Use the createMockUsers
API to create a mock user for the purpose of testing. Make sure you use a pre-production application id for the mock user you create. Note that you can create only one mock user at a time.
API Details
POST
https://iql.zendrive.com/iql/v1/mock-user/H ‘Authorization: APIKEY <api_key>
Headers
Name
Type
Description
Authorization*
String
APIKEY <api_key>
Request Body
Name
Type
Description
User_id*
String
The user id assigned to the mock user.
Sample Request
POST: https://iql.zendrive.com/iql/v1/mock-user/H ‘Authorization: APIKEY <api_key>
{
"user_id" : "eNnRFevxxxxdxxxx",
"opt_in_date": "2022-03-01"
}
Response:
Status: 200
{
"message": "User-id : eNnRFevxxxxdxxxx has been mocked"
}