API Reference
Log in to see full request history

Request Parameters

ParameterLocationTypeDescriptionRequired
AuthorizationHeaderstringAPIKEY of your Alat WA AccountYes
Content-TypeHeaderstringapplication/jsonYes
generate_prefix_numberBodystringGenerate number with 62Yes
filter_duplicateBodystringFilter duplicate numberYes
groupBodystringName of GroupYes
customersBodyarrayArray of customer objects, See customer structure belowYes

customer object structure:

ParameterTypeDescriptionRequired
phonestringWhatsApp Number of customerYes
namestringName of customerNo
opt1stringOption data ke-1No
opt2stringOption data ke-2No
opt3stringOption data ke-3No
opt4stringOption data ke-4No
opt5stringOption data ke-5No
opt6stringOption data ke-6No
opt7stringOption data ke-7No

Example Body Request

{ "generate_prefix_number": "no", "filter_duplicate": "yes", "group": "contoh 1", "customers": [ { "phone":"0812347899981", "name": "tes 1", "opt1": "opt1", "opt2": "opt2", "opt3": "opt3", "opt4": "opt4", "opt5": "opt5", "opt6": "opt6", "opt7": "opt7" }, { "phone":"0812347899983", "name": "tes 2", "opt1": "opt1", "opt2": "opt2", "opt3": "opt3", "opt4": "opt4", "opt5": "opt5", "opt6": "opt6", "opt7": "opt7" }, { "phone":"0812347899984", "name": "tes 3", "opt1": "opt1", "opt2": "opt2", "opt3": "opt3", "opt4": "opt4", "opt5": "opt5", "opt6": "opt6", "opt7": "opt7" } ] }

Response Parameters

NameTypeDescriptionExample
statusstringResponse statusok, error
messagestringSuccess/Error messageCustomer succesfully created, Unauthorized
total_customerstringTotal Customer Created3
groupstringName of Groupcontoh 1
Body Params
Headers
string
Response

Language
Click Try It! to start a request and see the response here!