Skip to main content

Add User

Use this API to add a new user to your Complyance account. This new user can be used to onboard another EGS with the ZATCA test environment

You have to pass all the required params in the specified format at the minimum to create your account successfully.

# You can also use wget
curl -X POST https://t5wtfl1d2e.execute-api.ap-south-1.amazonaws.com/test/api/v1/proto/addUser \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'

Request Parameters

PARAMSREQUIREDDATA TYPEDESCRIPTIONEXAMPLE
emailYESstringThe email for the account you want to createexample123@example.com
passwordYESstringPassword for your Antna test account. The password should contain atleast one Caps letter, Special character & number.Example@123

Response Parameters

PARAMSDATA TYPEDESCRIPTIONEXAMPLE
refreshTokenstringThe refresh token is a permanent token. It is valid for one year.SUCCESS

Body parameter

{
"email": "admin125@example.com",
"password": "Example@123"
}

Parameters

NameInTypeRequiredDescription
bodybodyobjectfalsenone

Example responses

200 Response

{
"refreshToken": "eyJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2R0NNIiwiYWxnIjoiUlNBLU9BRVAifQ.LodXXVxlXPN5d-3PjlcuR7VPIAOYYM2k16gGVVEXtDBLjrebuYhkI_Bnxs750CzJqLfuktNsKGVABTBd_kx4Vy3PlyyPeO326cIIGUHDukwL87DJ86G-XFWrkesY_WKKrov50NPc3h3rQ-7NZqxPoORFKP36x4XrCIG_wmZjIrSHVeQIPZ8leisZNi29SohxDDVP-O18l072iClbhknyL6vHaTDuPOntoIp2l614DoFpyZcw_pzrbZmQEFxWsM33kA67il92dajlnkt122MDgL3IiosSrpndyd7kvEJiaqI5vbBC7IpLR-Q_rS7l4l1lL6EGnHsW2F4e4lKfQWlrzA.wd-JFKEujcypjAUT.YKtcjE3xAJLck1-L4GhkmPW4GwddKc6Llm8cwEIdNbuBMG8NZFcVUYyhtNF4_r49vdEioj_jAyeJSymDABz56CF5yKH3_9YjT3v1XSW8GDEuCK7UYrK10e4bY99EUisqkf0_6Gpuv6-es9uTIV-jFvYw9hL0Q-PG000sqBEWkUZSU1GSt7_pfG4f1sjL2dOKmwjCm1khrwxdXha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BL9JTPBABYef9g0eGo5H3NPPX91F63aMHzfJdBnBg7BC_DSuaw.eZ4gG_CFeTrH_2wqISrPxw",
"isAdded": true
}

Responses

StatusMeaningDescriptionSchema
200OKOKInline

Response Schema

Response Headers

StatusHeaderTypeFormatDescription
200Datestringnone
200Content-Typestringnone
200Content-Lengthintegernone
200Connectionstringnone
200x-amzn-RequestIdstringnone
200Access-Control-Allow-Originstringnone
200Access-Control-Allow-Headersstringnone
200x-amz-apigw-idstringnone
200Access-Control-Allow-Methodsstringnone
200Access-Control-Expose-Headersstringnone
200X-Amzn-Trace-Idstringnone