Моля потвърдете имейл адреса си. За да го потвърдите, проверете пощата си ({{hc.user.email}}) за изпратен имейл от нас. Натиснете тук за изпращане на нов имейл за потвърждение.
post_add
Моля изчакайте...

API documentation

In this section you can learn the basics of how to send and receive data from nekorekten.com and how to implement the APIs, Platforms, Products, and SDKs to fit your application needs. The information below is strictly designed for developers and is technical in nature. If you have any questions about nekorekten.com's API, please contact us by using our contact form email

Api Endpoint

https://api.nekorekten.com

Maximum 10 requests per minute!

Authorization

Header:
Api-Key: xxxxxxxxxxxxxxxxxxxxxxxx
You can generate API Keys from your profile page. For more information on how to acquire API Keys please check this article: api API Keys

CRUD operations

GET https://api.nekorekten.com/api/v1/reports
Service for fetching (searching for) reports by criteria.

Query Parameters:
Field Type Required Description
phone string No* Search by phone number
email string No* Search by email
name string No* Search by name
siteUrl string No* Search by site
searchMode string No (Default: 'all') Available values:
  • 'all' - search by all provided filters.
  • 'one-of' - search by any of the provided filters.
*Non of the filters are mandatory by themselves but for successful request at least one must be provided.
Example request:
curl --location --request GET 'https://api.nekorekten.com/api/v1/reports?phone=359888888888' --header 'Api-Key: xxxxxxxxxxxxxxxxxxxxxxxx'
POST https://api.nekorekten.com/api/v1/reports
Service for creating (adding) new report.

Body Parameters:
Field Type Required Description
text string Yes Report Description - Brief text of what, where and how.
phone string No* Phone Number of the person - will be used as search filter. The phone number must be provided with area code as a single string.
email string No* Email of the person - will be used as search filter.
siteUrl string No* Site URL - will be used as search filter.
facebookUrl string No* Facebook URL of the person - will be used as search filter.
firstName string No First Name of the person - will be used as search filter.
lastName string No Last Name of the person - will be used as search filter.
files array No Array with file ids.
cityID int No City of the person. You can get list from /api/v1/cities.
Example request:
curl --location --request POST 'https://api.nekorekten.com/api/v1/reports' --header 'Api-Key: xxxxxxxxxxxxxxxxxxxxxxxx' --header 'Content-Type: application/json' --data-raw '{ "firstName": "Иван", "lastName": "Иванов", "phone": "35988888888" }'
PATCH https://api.nekorekten.com/api/v1/reports/{{reportId}}
Service for editing a report.

Body Parameters:
Field Type Required Description
text string No Report Description - Brief text of what, where and how.
phone string No Phone Number of the person - will be used as search filter. The phone number must be provided with area code as a single string.
email string No Email of the person - will be used as search filter.
siteUrl string No Site URL - will be used as search filter.
facebookUrl string No Facebook URL of the person - will be used as search filter.
firstName string No First Name of the person - will be used as search filter.
lastName string No Last Name of the person - will be used as search filter.
files array No Array with file ids.
cityID int No City of the person. You can get list from /api/v1/cities.
Example request:
curl --location --request PATCH 'https://api.nekorekten.com/api/v1/reports/XXXXXXX' --header 'Api-Key: xxxxxxxxxxxxxxxxxxxxxxxx' --header 'Content-Type: application/json' --data-raw '{ "firstName": "Иван", "lastName": "Иванов", "phone": "35988888888" }'
DELETE https://api.nekorekten.com/api/v1/reports/{reportId}
Service for deleting report.

Example request:
curl --location --request DELETE 'https://api.nekorekten.com/api/v1/reports/0obgyGbp1Ms' --header 'Api-Key: xxxxxxxxxxxxxxxxxxxxxxxx' --header 'Content-Type: application/json'
POST https://api.nekorekten.com/api/v1/files
Service for adding (uploading) files. After successful uploading, the service will return fileIDs that can be used for creating (adding) new reports afterwords.

Body Parameters:
Field Type Required Description
files[] file Yes The files can be texts, images, audio and documents with these supported file extensions: "jpeg", "jpg", "png", "pdf", "doc", "docx", "mp4", "avi", "mp3", "wmv", "wma".
Example request:
curl --location --request POST 'https://api.nekorekten.com/api/v1/files' --header 'Api-Key: xxxxxxxxxxxxxxxxxxxxxxxx' --form 'files[]=@"/path/to/file/chat.jpg"'
GET https://api.nekorekten.com/api/v1/cities
Service for fetching cities.

Example request:
curl --location --request GET 'https://api.nekorekten.com/api/v1/cities' --header 'Api-Key: xxxxxxxxxxxxxxxxxxxxxxxx'
GET https://api.nekorekten.com/api/v1/cities
Service for getting list with cities

Example request:
curl --location --request GET 'https://api.nekorekten.com/api/v1/cities' --header 'Api-Key: xxxxxxxxxxxxxxxxxxxxxxxx'