curl --request POST \
--url https://api.flare.io/firework/v4/matching_policies \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"type": "<string>",
"value": {
"keywords": [
"<string>"
]
}
}
'{
"uuid": "<string>",
"name": "<string>",
"policy_type": "INCLUDED_KEYWORDS",
"value": {
"keywords": [
"<string>"
]
},
"created_at": "2023-11-07T05:31:56Z",
"last_updated_at": "2023-11-07T05:31:56Z"
}curl --request POST \
--url https://api.flare.io/firework/v4/matching_policies \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"type": "<string>",
"value": {
"keywords": [
"<string>"
]
}
}
'{
"uuid": "<string>",
"name": "<string>",
"policy_type": "INCLUDED_KEYWORDS",
"value": {
"keywords": [
"<string>"
]
},
"created_at": "2023-11-07T05:31:56Z",
"last_updated_at": "2023-11-07T05:31:56Z"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response
The UUID of the matching policy
The name of the matching policy
The type of the matching policy
INCLUDED_KEYWORDS, EXCLUDED_KEYWORDS, LUCENE_QUERY, ASTP_COOKIES The value of the matching policy depending on its type
Show child attributes
The date and time the matching policy was created
The date and time the matching policy was last updated
Was this page helpful?