WABA
Record an embedded signup event
POST
/
v1
/
waba
/
signup-event
Record an embedded signup event
curl --request POST \
--url https://api.wazapin.com/v1/waba/signup-event \
--header 'Content-Type: application/json' \
--data '
{
"event": "<string>",
"ad_account_ids": [
"<string>"
],
"business_id": "<string>",
"current_step": "<string>",
"error_id": "<string>",
"error_message": "<string>",
"page_ids": [
"<string>"
],
"phone_number_id": "<string>",
"session_id": "<string>",
"waba_id": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
event: '<string>',
ad_account_ids: ['<string>'],
business_id: '<string>',
current_step: '<string>',
error_id: '<string>',
error_message: '<string>',
page_ids: ['<string>'],
phone_number_id: '<string>',
session_id: '<string>',
waba_id: '<string>'
})
};
fetch('https://api.wazapin.com/v1/waba/signup-event', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/waba/signup-event"
payload = {
"event": "<string>",
"ad_account_ids": ["<string>"],
"business_id": "<string>",
"current_step": "<string>",
"error_id": "<string>",
"error_message": "<string>",
"page_ids": ["<string>"],
"phone_number_id": "<string>",
"session_id": "<string>",
"waba_id": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"status": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}Body
application/json
Signup event type
Minimum string length:
1Ad account IDs
Business ID
Current signup step
Error ID if any
Error message if any
Page IDs
Phone number ID
Session ID
WABA ID
Response
Created
⌘I
Record an embedded signup event
curl --request POST \
--url https://api.wazapin.com/v1/waba/signup-event \
--header 'Content-Type: application/json' \
--data '
{
"event": "<string>",
"ad_account_ids": [
"<string>"
],
"business_id": "<string>",
"current_step": "<string>",
"error_id": "<string>",
"error_message": "<string>",
"page_ids": [
"<string>"
],
"phone_number_id": "<string>",
"session_id": "<string>",
"waba_id": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
event: '<string>',
ad_account_ids: ['<string>'],
business_id: '<string>',
current_step: '<string>',
error_id: '<string>',
error_message: '<string>',
page_ids: ['<string>'],
phone_number_id: '<string>',
session_id: '<string>',
waba_id: '<string>'
})
};
fetch('https://api.wazapin.com/v1/waba/signup-event', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/waba/signup-event"
payload = {
"event": "<string>",
"ad_account_ids": ["<string>"],
"business_id": "<string>",
"current_step": "<string>",
"error_id": "<string>",
"error_message": "<string>",
"page_ids": ["<string>"],
"phone_number_id": "<string>",
"session_id": "<string>",
"waba_id": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"status": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}