Step One - Fetch Phone Numbers

Endpoint

https://app.wabais.com/api/phone-numbers?from_api=true&sending_message=true

Method

GET

Authentication

Bearer Token

Body Type

None

Query Parameters

from_api true

sending_message true

Sample Response

{
    "data": [
        {
            "id": "63849362b0c1d8c2025042",
            "verified_name": "WABAIS",
            "code_verification_status": "VERIFIED",
            "display_phone_number": "+91112334343",
            "quality_rating": "GREEN",
            "phone_number_id": "1060605674953",
            "business_initiated_conversations_limit": null,
            "customer": {
                "id": "6384924f26d5721045bd2",
                "name": "John Doe",
                "email": "jdoe@wabais.com",
                "country_code": null,
                "phone": null,
                "company_name": null,
                "active": 1,
                "company": {
                    "id": "638de447851da11a1e0af709",
                    "name": "WABAIS",
                    "address": " 226010, Lucknow, Uttar Pradesh, India,",
                    "logo": null
                }
            },
            "source": "Fetched From Whatsapp",
            "whatsapp_account": {
                "id": "638492f7335dde35081962",
                "name": "WABAIS",
                "business_id": "6548194719657",
                "waba_id": "1109208514457",
                "customer_id": "63824f26d5721c24045bd2",
                "customer": {
                    "id": "6384924fd5721c24045bd2",
                    "name": "John Doe"
                }
            },
            "status": true
        }
    ]
}