curl --request POST \
--url https://api.wapikit.com/api/organization \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"websiteUrl": "<string>"
}'
{
"organization": {
"uniqueId": "<string>",
"name": "<string>",
"description": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"websiteUrl": "<string>",
"logoUrl": "<string>",
"faviconUrl": "<string>",
"businessAccountId": "<string>",
"whatsappBusinessAccountDetails": {
"businessAccountId": "<string>",
"phoneNumberId": "<string>",
"accessToken": "<string>",
"webhookSecret": "<string>",
"verificationStatus": "Verified",
"isPhoneNumberRegisteredToCloudApi": true
},
"IsAutoHandlingConversationsEnabled": true,
"isOnboardingCompleted": true
}
}
create a new organization
curl --request POST \
--url https://api.wapikit.com/api/organization \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"websiteUrl": "<string>"
}'
{
"organization": {
"uniqueId": "<string>",
"name": "<string>",
"description": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"websiteUrl": "<string>",
"logoUrl": "<string>",
"faviconUrl": "<string>",
"businessAccountId": "<string>",
"whatsappBusinessAccountDetails": {
"businessAccountId": "<string>",
"phoneNumberId": "<string>",
"accessToken": "<string>",
"webhookSecret": "<string>",
"verificationStatus": "Verified",
"isPhoneNumberRegisteredToCloudApi": true
},
"IsAutoHandlingConversationsEnabled": true,
"isOnboardingCompleted": true
}
}
new organization info
The body is of type object
.
organization object
The response is of type object
.
Was this page helpful?