Create a New Request.
POST/accounts/{account_id}/cloudforce-one/requests/new
Creating a request adds the request into the Cloudforce One queue for analysis. In addition to the content, a short title, type, priority, and releasability should be provided. If one is not provided, a default will be assigned.
Security
API Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example:
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example:
Accepted Permissions (at least one required)
Body ParametersJSON
Create a New Request.
curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/cloudforce-one/requests/new \
-H 'Content-Type: application/json' \
-H "X-Auth-Email: $CLOUDFLARE_EMAIL" \
-H "X-Auth-Key: $CLOUDFLARE_API_KEY" \
-d '{
"content": "What regions were most effected by the recent DoS?",
"priority": "routine",
"request_type": "Victomology",
"summary": "DoS attack"
}'{
"errors": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"messages": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"success": true,
"result": {
"id": "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
"content": "What regions were most effected by the recent DoS?",
"created": "2022-04-01T05:20:00Z",
"priority": "2022-04-01T05:20:00Z",
"request": "Victomology",
"summary": "DoS attack",
"tlp": "clear",
"updated": "2022-04-01T05:20:00Z",
"completed": "2022-04-01T05:20:00Z",
"message_tokens": 1,
"readable_id": "RFI-2022-000001",
"status": "open",
"tokens": 16
}
}Returns Examples
{
"errors": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"messages": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"success": true,
"result": {
"id": "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
"content": "What regions were most effected by the recent DoS?",
"created": "2022-04-01T05:20:00Z",
"priority": "2022-04-01T05:20:00Z",
"request": "Victomology",
"summary": "DoS attack",
"tlp": "clear",
"updated": "2022-04-01T05:20:00Z",
"completed": "2022-04-01T05:20:00Z",
"message_tokens": 1,
"readable_id": "RFI-2022-000001",
"status": "open",
"tokens": 16
}
}