This is the Coro Cybersecurity platform API specification reference.
This section provides a complete reference listing for the Coro Cybersecurity REST API resource model.
This reference lists all the resources available through the Coro REST API.
Each section relates to a specific resource and provides its name, description, unique URI path, and the list of operations you can perform on it.
For each operation, you can find:
The portal also provides code samples and examples for making requests in a number of programming languages, together with samples of the possible response bodies.
In addition to this, Coro provides a Try It feature where you can interact with the API directly through the portal. To use Try It, you'll need to first obtain Client ID and Secret credentials; for more information, see Authentication.
https://docs.coro.net/_mock/api/api-docs/
https://api.secure.coro.net/
https://docs.coro.net/_mock/api/api-docs/v1/settings/webhooks/{id}
https://api.secure.coro.net/v1/settings/webhooks/{id}
curl -i -X GET \
'https://docs.coro.net/_mock/api/api-docs/v1/settings/webhooks/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Workspace: corodevonmicrosoftcom_TX7T_u'{ "id": "string", "name": "string", "workspaceId": "string", "status": "enabled", "description": "string", "applyToAllDescendants": true, "url": "string", "secret": "string", "headers": { "property1": "string", "property2": "string" }, "triggers": "workspaceCreated", "created": 0, "updated": 0 }
<placeholder>
https://docs.coro.net/_mock/api/api-docs/v1/settings/webhooks/{id}
https://api.secure.coro.net/v1/settings/webhooks/{id}
curl -i -X PUT \
'https://docs.coro.net/_mock/api/api-docs/v1/settings/webhooks/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'Workspace: corodevonmicrosoftcom_TX7T_u' \
-d '{
"name": "string",
"description": "string",
"applyToAllDescendants": true,
"url": "string",
"secret": "string",
"headers": {
"property1": "string",
"property2": "string"
},
"triggers": "workspaceCreated.v1",
"status": "enabled"
}'{ "id": "string", "name": "string", "workspaceId": "string", "status": "enabled", "description": "string", "applyToAllDescendants": true, "url": "string", "secret": "string", "headers": { "property1": "string", "property2": "string" }, "triggers": "workspaceCreated", "created": 0, "updated": 0 }
https://docs.coro.net/_mock/api/api-docs/v1/settings/webhooks/{id}
https://api.secure.coro.net/v1/settings/webhooks/{id}
curl -i -X DELETE \
'https://docs.coro.net/_mock/api/api-docs/v1/settings/webhooks/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Workspace: corodevonmicrosoftcom_TX7T_u'https://docs.coro.net/_mock/api/api-docs/v1/settings/webhooks
https://api.secure.coro.net/v1/settings/webhooks
curl -i -X GET \
https://docs.coro.net/_mock/api/api-docs/v1/settings/webhooks \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Workspace: corodevonmicrosoftcom_TX7T_u'{ "id": "string", "name": "string", "workspaceId": "string", "status": "enabled", "description": "string", "applyToAllDescendants": true, "url": "string", "secret": "string", "headers": { "property1": "string", "property2": "string" }, "triggers": "workspaceCreated", "created": 0, "updated": 0 }
<placeholder>
https://docs.coro.net/_mock/api/api-docs/v1/settings/webhooks
https://api.secure.coro.net/v1/settings/webhooks
curl -i -X POST \
https://docs.coro.net/_mock/api/api-docs/v1/settings/webhooks \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'Workspace: corodevonmicrosoftcom_TX7T_u' \
-d '{
"name": "string",
"description": "string",
"applyToAllDescendants": true,
"url": "string",
"secret": "string",
"headers": {
"property1": "string",
"property2": "string"
},
"triggers": "workspaceCreated.v1"
}'{ "id": "string", "name": "string", "workspaceId": "string", "status": "enabled", "description": "string", "applyToAllDescendants": true, "url": "string", "secret": "string", "headers": { "property1": "string", "property2": "string" }, "triggers": "workspaceCreated", "created": 0, "updated": 0 }
https://docs.coro.net/_mock/api/api-docs/v1/settings/webhooks/{id}/test
https://api.secure.coro.net/v1/settings/webhooks/{id}/test
curl -i -X GET \
'https://docs.coro.net/_mock/api/api-docs/v1/settings/webhooks/{id}/test?trigger=string&version=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Workspace: corodevonmicrosoftcom_TX7T_u'No content