Organizations

Create filter

REQUIRED SCOPES <code>['organizations:write']</code><br>Create filter

post/organization/segments/create

Request

  • Base URL
    https://api.salesmessage.com/pub/v2.3
  • URL
    https://api.salesmessage.com/pub/v2.3/organization/segments/create
  • Auth
    HTTP bearer

Request body

namestring
is_favoriteboolean

Example request

{
  "name": "Test Segment",
  "filters": {
    "filtersList": [
      {
        "filters": [
          {
            "key": "first_name",
            "operator": "equals",
            "value": "test"
          }
        ]
      }
    ]
  }
}

Response

OK

idinteger
organization_idinteger
namestring
is_favoriteboolean

Changes

No recorded changes to this operation across all 3 revisions of this API.