MFA Icon

MFA for Oracle Community

Starting September 2025, Oracle Community will require Multi-Factor Authentication (MFA) for all member logins. This simple extra step helps protect your account—and the community data—by adding an additional layer of security during sign-in.

Read more about MFA
Creating a segment via API with elements-criteria — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Oracle Marketing Developer Tools
Get Started with Redwood: Oracle Cloud SCM and Purchasing

Creating a segment via API with elements-criteria

Hi there,

I am trying to create a contact segment via an API with a filter criteria that includes email address equalling a picklist of email addresses. I have successfully created it with the request body below (by doing a GET call on an existing segment and copying the response), however it has in the body elements.filter.criteria.id which has to match the elements.filter.statement (=274 in this case). If it doesn't, the segment isn't created correctly. Does anyone know what/where these fields are found? Also, where the optionListId is found?

{
"type": "ContactSegment",
"folderId": "701",
"name": "Test 1",
"elements": [

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!