Oracle Eloqua Custom Objects API

Manage custom object definitions and data

GitHub OpenAPI

Operations 10

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /assets/customObjects List custom object definitions · Oracle Eloqua List custom objects #
Ask an LLM
“Which custom object definitions exist in my Eloqua account?”
“Can I search all custom object definitions by name?”
Tell an agent
List all custom object definitions.
Find custom object definitions matching {search}.
POST /assets/customObject Create a custom object definition · Oracle Eloqua Create a custom object #
Ask an LLM
“How do I define a new custom object type for tracking leads?”
“Can I set a display name field and a unique code field when creating a custom object?”
Tell an agent
Create a custom object named {name}.
Create custom object {name} with display name field {displayNameFieldId} and unique code field {uniqueCodeFieldId}.
GET /assets/customObject/{id} Get a custom object definition · Oracle Eloqua Retrieve a custom object #
Ask an LLM
“What fields does a particular custom object definition include?”
“Can I look up one custom object definition by its ID?”
Tell an agent
Show custom object definition {id}.
Get the fields of custom object {id}.
PUT /assets/customObject/{id} Update a custom object definition · Oracle Eloqua Update a custom object #
Ask an LLM
“How do I rename an existing custom object definition?”
“Can I change which field is the display name on a custom object?”
Tell an agent
Rename custom object {id} to {name}.
Set the display name field of custom object {id} to {displayNameFieldId}.
DELETE /assets/customObject/{id} Delete a custom object definition · Oracle Eloqua Delete a custom object #
Ask an LLM
“How do I delete a custom object definition I no longer use?”
“Can I remove a custom object type from my account?”
Tell an agent destructive · confirm first
Delete custom object definition {id}.
Remove the custom object {id} from my account.
GET /data/customObject/{parentId}/instances List data instances of a custom object · Oracle Eloqua List custom object data instances #
Ask an LLM
“What data instances exist for a given custom object?”
“Can I search the records of one custom object type?”
Tell an agent
List data instances of custom object {parentId}.
Find {count} records of custom object {parentId} matching {search}.
POST /data/customObject/{parentId}/instance Create a data instance of a custom object · Oracle Eloqua Create a custom object data instance #
Ask an LLM
“How do I add a new record to a custom object?”
“Can I link a custom object record to a contact or account?”
Tell an agent
Create a record in custom object {parentId} with values {fieldValues}.
Add a {type} record to custom object {parentId} for contact {contactId}.
GET /data/customObject/{parentId}/instance/{id} Get a custom object data instance · Oracle Eloqua Retrieve a custom object data instance #
Ask an LLM
“What values does one specific custom object record hold?”
“Can I fetch a single record of a custom object by its ID?”
Tell an agent
Show record {id} of custom object {parentId}.
Get the field values of custom object {parentId} record {id}.
PUT /data/customObject/{parentId}/instance/{id} Update a custom object data instance · Oracle Eloqua Update a custom object data instance #
Ask an LLM
“How do I change the values of an existing custom object record?”
“Can I update a single record of a custom object?”
Tell an agent
Update record {id} of custom object {parentId} with {fieldValues}.
Change the field values on custom object {parentId} record {id}.
DELETE /data/customObject/{parentId}/instance/{id} Delete a custom object instance · Oracle Eloqua Delete a custom object data instance #
Ask an LLM
“How do I delete one row of a custom object?”
“Can I remove a specific instance of a custom object by its ID?”
Tell an agent destructive · confirm first
Delete instance {id} of custom object {parentId}.
Remove the row {id} from custom object definition {parentId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/eloqua:eloqua-custom-objects-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

eloqua-custom-objects-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Oracle Eloqua REST Custom Objects API
  description: The primary REST API for Oracle Eloqua Marketing Cloud Service, providing access to marketing automation assets and data including contacts, accounts, campaigns, emails, forms, landing pages, custom objects, and more.
  version: '2.0'
  contact:
    name: Oracle Support
    url: https://support.oracle.com/
  termsOfService: https://www.oracle.com/legal/terms.html
servers:
- url: https://secure.p01.eloqua.com/API/REST/2.0
  description: Eloqua REST API v2.0 (pod may vary per instance)
security:
- basicAuth: []
- oAuth2: []
tags:
- name: Custom Objects
  description: Manage custom object definitions and data
paths:
  /assets/customObjects:
    get:
      operationId: listCustomObjects
      summary: Oracle Eloqua List custom objects
      description: Retrieve all custom object definitions.
      tags:
      - Custom Objects
      parameters:
      - $ref: '#/components/parameters/count'
      - $ref: '#/components/parameters/depth'
      - $ref: '#/components/parameters/page'
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/orderBy'
      responses:
        '200':
          description: Successfully retrieved custom objects
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueryResultCustomObject'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
  /assets/customObject:
    post:
      operationId: createCustomObject
      summary: Oracle Eloqua Create a custom object
      description: Create a new custom object definition.
      tags:
      - Custom Objects
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomObject'
      responses:
        '201':
          description: Custom object created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomObject'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
  /assets/customObject/{id}:
    get:
      operationId: getCustomObject
      summary: Oracle Eloqua Retrieve a custom object
      description: Retrieve a custom object definition by its identifier.
      tags:
      - Custom Objects
      parameters:
      - $ref: '#/components/parameters/id'
      - $ref: '#/components/parameters/depth'
      responses:
        '200':
          description: Successfully retrieved custom object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomObject'
        '401':
          description: Unauthorized
        '404':
          description: Custom object not found
    put:
      operationId: updateCustomObject
      summary: Oracle Eloqua Update a custom object
      description: Update an existing custom object definition.
      tags:
      - Custom Objects
      parameters:
      - $ref: '#/components/parameters/id'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomObject'
      responses:
        '200':
          description: Successfully updated custom object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomObject'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Custom object not found
    delete:
      operationId: deleteCustomObject
      summary: Oracle Eloqua Delete a custom object
      description: Delete a custom object definition by its identifier.
      tags:
      - Custom Objects
      parameters:
      - $ref: '#/components/parameters/id'
      responses:
        '204':
          description: Custom object deleted successfully
        '401':
          description: Unauthorized
        '404':
          description: Custom object not found
  /data/customObject/{parentId}/instances:
    get:
      operationId: listCustomObjectData
      summary: Oracle Eloqua List custom object data instances
      description: Retrieve data instances for a specific custom object.
      tags:
      - Custom Objects
      parameters:
      - name: parentId
        in: path
        required: true
        description: The custom object definition identifier
        schema:
          type: string
      - $ref: '#/components/parameters/count'
      - $ref: '#/components/parameters/page'
      - $ref: '#/components/parameters/search'
      responses:
        '200':
          description: Successfully retrieved custom object data
          content:
            application/json:
              schema:
                type: object
                properties:
                  elements:
                    type: array
                    items:
                      $ref: '#/components/schemas/CustomObjectData'
                  page:
                    type: integer
                  pageSize:
                    type: integer
                  total:
                    type: integer
        '401':
          description: Unauthorized
        '404':
          description: Custom object not found
  /data/customObject/{parentId}/instance:
    post:
      operationId: createCustomObjectData
      summary: Oracle Eloqua Create a custom object data instance
      description: Create a new data instance for a specific custom object.
      tags:
      - Custom Objects
      parameters:
      - name: parentId
        in: path
        required: true
        description: The custom object definition identifier
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomObjectData'
      responses:
        '201':
          description: Custom object data created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomObjectData'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
  /data/customObject/{parentId}/instance/{id}:
    get:
      operationId: getCustomObjectData
      summary: Oracle Eloqua Retrieve a custom object data instance
      description: Retrieve a specific data instance from a custom object.
      tags:
      - Custom Objects
      parameters:
      - name: parentId
        in: path
        required: true
        description: The custom object definition identifier
        schema:
          type: string
      - $ref: '#/components/parameters/id'
      responses:
        '200':
          description: Successfully retrieved custom object data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomObjectData'
        '401':
          description: Unauthorized
        '404':
          description: Instance not found
    put:
      operationId: updateCustomObjectData
      summary: Oracle Eloqua Update a custom object data instance
      description: Update an existing data instance for a custom object.
      tags:
      - Custom Objects
      parameters:
      - name: parentId
        in: path
        required: true
        description: The custom object definition identifier
        schema:
          type: string
      - $ref: '#/components/parameters/id'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomObjectData'
      responses:
        '200':
          description: Successfully updated custom object data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomObjectData'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Instance not found
    delete:
      operationId: deleteCustomObjectData
      summary: Oracle Eloqua Delete a custom object data instance
      description: Delete a specific data instance from a custom object.
      tags:
      - Custom Objects
      parameters:
      - name: parentId
        in: path
        required: true
        description: The custom object definition identifier
        schema:
          type: string
      - $ref: '#/components/parameters/id'
      responses:
        '204':
          description: Custom object data deleted
        '401':
          description: Unauthorized
        '404':
          description: Instance not found
components:
  schemas:
    QueryResultCustomObject:
      type: object
      properties:
        elements:
          type: array
          items:
            $ref: '#/components/schemas/CustomObject'
        page:
          type: integer
        pageSize:
          type: integer
        total:
          type: integer
    FieldValue:
      type: object
      properties:
        id:
          type: string
          description: Field identifier
          readOnly: true
        type:
          type: string
          description: Field type
          readOnly: true
        value:
          type: string
          description: Field value (dates are returned as Unix timestamps)
    CustomObjectData:
      type: object
      properties:
        id:
          type: string
          description: Data instance identifier
          readOnly: true
        type:
          type: string
          description: Data type
        uniqueCode:
          type: string
          description: Unique code for the data instance
        contactId:
          type: string
          description: Associated contact identifier
        accountId:
          type: string
          description: Associated account identifier
        fieldValues:
          type: array
          description: Field values for the data instance
          items:
            $ref: '#/components/schemas/FieldValue'
        createdAt:
          type: string
          description: Creation timestamp (Unix time)
          readOnly: true
        updatedAt:
          type: string
          description: Last update timestamp (Unix time)
          readOnly: true
    CustomObject:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the custom object
          readOnly: true
        name:
          type: string
          description: Custom object name
        description:
          type: string
          description: Custom object description
        displayNameFieldId:
          type: string
          description: Field used as the display name
        uniqueCodeFieldId:
          type: string
          description: Field used as the unique code
        fields:
          type: array
          description: Custom object field definitions
          items:
            type: object
            properties:
              id:
                type: string
              name:
                type: string
              dataType:
                type: string
              displayType:
                type: string
              defaultValue:
                type: string
        createdAt:
          type: string
          description: Creation timestamp (Unix time)
          readOnly: true
        updatedAt:
          type: string
          description: Last update timestamp (Unix time)
          readOnly: true
        depth:
          type: string
          description: Level of detail returned
          readOnly: true
        type:
          type: string
          description: Asset type in Eloqua
          readOnly: true
  parameters:
    search:
      name: search
      in: query
      description: Search criteria for filtering results
      schema:
        type: string
    count:
      name: count
      in: query
      description: Maximum number of entities to return (1-1000)
      schema:
        type: integer
        minimum: 1
        maximum: 1000
    id:
      name: id
      in: path
      required: true
      description: The unique identifier of the resource
      schema:
        type: string
    page:
      name: page
      in: query
      description: Page number to return (starts at 1)
      schema:
        type: integer
        minimum: 1
        default: 1
    orderBy:
      name: orderBy
      in: query
      description: Field to sort results by (e.g., createdAt DESC)
      schema:
        type: string
    depth:
      name: depth
      in: query
      description: Level of detail returned for the entity
      schema:
        type: string
        enum:
        - minimal
        - partial
        - complete
        default: minimal
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: HTTP Basic authentication using company\username and password in the format CompanyName\Username.
    oAuth2:
      type: oauth2
      description: OAuth 2.0 authorization code flow
      flows:
        authorizationCode:
          authorizationUrl: https://login.eloqua.com/auth/oauth2/authorize
          tokenUrl: https://login.eloqua.com/auth/oauth2/token
          scopes:
            full: Full access to all Eloqua resources
externalDocs:
  description: Oracle Eloqua REST API Documentation
  url: https://docs.oracle.com/en/cloud/saas/marketing/eloqua-rest-api/