Retrieve Profile
To retrieve profile, make a POST
call to the /profile
.
Prerequisite
All API calls require authentication with
API_TOKEN
Developers can authenticate their API calls with the API_TOKEN
generated in App Dashboard > Phone Numbers > Detail > Api
. Example
Sample request:
curl -X GET 'https://waofficial.botika.online/api/whatsapp/v1/profile' \ -H 'Authorization: Bearer {{ API_TOKEN }}'
A successful response includes an object with an identifier for the profile.
{ "data": { "name": "{{ PROFILE_NAME }}", "phone": "{{ PHONE_NUMBER }}", "photo": "{{ PROFILE_PHOTO_LINK }}", "description": "{{ PROFILE_DESCRIPTION }}", "email": "{{ PROFILE_EMAIL }}", "address": "{{ PROFILE_ADDRESS }}", "websites": [ "{{ PROFILE_LINK }}", ... ], "category": "{{ PROFILE_CATEGORY }}" } }