Skip to main content
POST
/
lists
cURL
curl --request POST \
  --url https://api.sentvia.ai/v1/lists \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "pattern": "<string>"
}
'

Authorizations

Authorization
string
header
required

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

Body

application/json
kind
enum<string>
required
Available options:
allow,
block
pattern
string
required
direction
enum<string>
Available options:
inbound,
outbound,
both

Response

201

Created