Skip to main content
POST
Create Matching Policy
Required API key permission: Write Tenant
The Create Matching Policy endpoint is still in beta and is subject to change.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

The name of the matching policy

Minimum string length: 1
type
string
required
Allowed value: "INCLUDED_KEYWORDS"
value
KeywordsValue · object
required

The value of the matching policy in the form of keywords

Response

Successful Response

uuid
string<uuid4>
required

The UUID of the matching policy

name
string
required

The name of the matching policy

policy_type
enum<string>
required

The type of the matching policy

Available options:
INCLUDED_KEYWORDS,
EXCLUDED_KEYWORDS,
LUCENE_QUERY,
ASTP_COOKIES,
ASTP_DOMAIN
value
KeywordsValue · object
required

The value of the matching policy depending on its type

created_at
string<date-time>
required

The date and time the matching policy was created

last_updated_at
string<date-time>
required

The date and time the matching policy was last updated