Auth
Create or update onboarding profile
POST
/
v1
/
auth
/
onboarding
Create or update onboarding profile
curl --request POST \
--url https://api.wazapin.com/v1/auth/onboarding \
--header 'Content-Type: application/json' \
--data '
{
"business_type": "<string>",
"company_name": "<string>",
"company_size": "<string>",
"first_name": "<string>",
"goals": [
"<string>"
],
"industry": "<string>",
"last_name": "<string>",
"no_website": true,
"phone_number": "<string>",
"company_website": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
business_type: '<string>',
company_name: '<string>',
company_size: '<string>',
first_name: '<string>',
goals: ['<string>'],
industry: '<string>',
last_name: '<string>',
no_website: true,
phone_number: '<string>',
company_website: '<string>'
})
};
fetch('https://api.wazapin.com/v1/auth/onboarding', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/auth/onboarding"
payload = {
"business_type": "<string>",
"company_name": "<string>",
"company_size": "<string>",
"first_name": "<string>",
"goals": ["<string>"],
"industry": "<string>",
"last_name": "<string>",
"no_website": True,
"phone_number": "<string>",
"company_website": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"business_type": "<string>",
"company_name": "<string>",
"company_size": "<string>",
"first_name": "<string>",
"goals": [
"<string>"
],
"industry": "<string>",
"last_name": "<string>",
"no_website": true,
"phone_number": "<string>",
"company_website": "<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
Minimum string length:
1Minimum string length:
1Minimum string length:
1Minimum string length:
1Minimum string length:
1Minimum string length:
1Minimum string length:
1⌘I
Create or update onboarding profile
curl --request POST \
--url https://api.wazapin.com/v1/auth/onboarding \
--header 'Content-Type: application/json' \
--data '
{
"business_type": "<string>",
"company_name": "<string>",
"company_size": "<string>",
"first_name": "<string>",
"goals": [
"<string>"
],
"industry": "<string>",
"last_name": "<string>",
"no_website": true,
"phone_number": "<string>",
"company_website": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
business_type: '<string>',
company_name: '<string>',
company_size: '<string>',
first_name: '<string>',
goals: ['<string>'],
industry: '<string>',
last_name: '<string>',
no_website: true,
phone_number: '<string>',
company_website: '<string>'
})
};
fetch('https://api.wazapin.com/v1/auth/onboarding', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/auth/onboarding"
payload = {
"business_type": "<string>",
"company_name": "<string>",
"company_size": "<string>",
"first_name": "<string>",
"goals": ["<string>"],
"industry": "<string>",
"last_name": "<string>",
"no_website": True,
"phone_number": "<string>",
"company_website": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"business_type": "<string>",
"company_name": "<string>",
"company_size": "<string>",
"first_name": "<string>",
"goals": [
"<string>"
],
"industry": "<string>",
"last_name": "<string>",
"no_website": true,
"phone_number": "<string>",
"company_website": "<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>"
}
}