Contacts
Unblock Contact
POST
/api/v1/user/unblockUnblock a contact.
Parameters
- PhonestringOptional
The phone number to unblock, with country code. Send Phone or JID.
- JIDstringOptional
The chat id to unblock, instead of Phone.
| Name | Type | Required | Description |
|---|---|---|---|
| Phone | string | No | The phone number to unblock, with country code. Send Phone or JID. |
| JID | string | No | The chat id to unblock, instead of Phone. |
Code Examples
cURL
curl -X POST "https://orvachat.com/api/v1/user/unblock" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"Phone": "923001234567"
}'Response Example
200 OK
{
"code": 200,
"data": {
"Details": "User unblocked",
"JID": "[email protected]",
"Blocklist": [],
"DHash": "1234567891"
},
"success": true
}