POST api/blacklist
Creates a new blacklist entry with the given information
Request Information
URI Parameters
None.
Body Parameters
Blacklist data of new entry
BlacklistEntryNewDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Phone |
Blacklisted phone number |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"Phone": "sample string 1"
}
Response Information
Resource Description
New blacklist entry
BlacklistEntryDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
Blacklist entry ID |
integer |
None. |
| Created |
Timestamp when blacklist entry was added |
date |
None. |
| Phone |
Blacklisted phone number |
string |
Required |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"Created": "2025-12-16T03:28:00.5628014+00:00",
"Phone": "sample string 2"
}