https://api.s7risk.com
The Incident API provides well constructed high-quality, highly-tailored and scalable threat intelligence data.
Get sectors
This endpoint gets all available sectors. The sectors returned can be filtered by adding search parameters to your request.
HTTP Request
curl -X GET 'https://api.s7risk.com/sectors' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer {{YOUR_AUTHENTICATION_TOKEN}}' \
-d 'search=transport' \
-d 'sort=desc' \
-d 'page=2' \
-d 'pageSize=6' \
--compressed
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | ✔️ | Your authentication token (see the Auth API section for more information) |
Query Parameters
| Name | Type | Description |
|---|---|---|
search | string | Search sectors using the given search term |
sort | string | Sort the results by the given properties. Available options asc or desc. If no sort order is specified then results are sorted by their relevancy |
page | int | A paginated result set. Defaults to 1 |
pageSize | int | A limited result set. Defaults to 100 |
HTTP Response
{
"data": [
{
"id": "231ae916-c503-4db7-aa5b-8c76f7d79876",
"name": "Tourism",
"description": null
},
{
"id": "801ea36b-a610-4ddd-a300-6373fe71c3ba",
"name": "Transport/Logistics",
"description": "Land based transportation of goods, services, products, humans, animals, not linked to maritime or aviation."
},
{
"id": "39d8f801-a6be-4d96-afbd-45553ac947e8",
"name": "Utilities",
"description": "Electricity, Gas, Water, Waste Services."
}
]
}
Success
| Code | Status | Description |
|---|---|---|
| 200 | Success | Returns a body containing all valid sectors |
Errors
| Code | Status | Description |
|---|---|---|
| 401 | Unauthorized | Expired or Invalid Authentication token |
| 422 | Unprocessable Entity | Incorrect or invalid search parameter |
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article