Oracle Eloqua Campaigns API

Create and manage marketing campaigns

GitHub OpenAPI
Business capability
Demand Generation Management BC-400.40

Operations 7

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/campaigns List marketing campaigns · Oracle Eloqua List campaigns #
Ask an LLM
“Which campaigns are set up in my Eloqua instance?”
“Can I search campaigns by name or status?”
Tell an agent
List all campaigns.
Find campaigns matching {search}.
POST /assets/campaign Create a marketing campaign · Oracle Eloqua Create a campaign #
Ask an LLM
“How do I create a new email campaign?”
“Can I set a start and end date when creating a campaign?”
Tell an agent
Create a campaign named {name}.
Create a {category} campaign {name} running from {start} to {end}.
GET /assets/campaign/{id} Get a marketing campaign · Oracle Eloqua Retrieve a campaign #
Ask an LLM
“What are the details of one campaign?”
“Can I look up a campaign by its ID?”
Tell an agent
Get campaign {id}.
Show the details of campaign {id} at depth {depth}.
PUT /assets/campaign/{id} Update a marketing campaign · Oracle Eloqua Update a campaign #
Ask an LLM
“How do I change a campaign's status or dates?”
“Can I rename an existing campaign?”
Tell an agent
Rename campaign {id} to {name}.
Set campaign {id} status to {status}.
DELETE /assets/campaign/{id} Delete a marketing campaign · Oracle Eloqua Delete a campaign #
Ask an LLM
“How do I delete a campaign I no longer need?”
“Can I remove a campaign by its ID?”
Tell an agent destructive · confirm first
Delete campaign {id}.
Remove the campaign {id} permanently.
POST /assets/campaign/active/{id} Activate a draft campaign · Oracle Eloqua Activate a campaign #
Ask an LLM
“How do I turn a draft campaign into an active one?”
“Can I publish a campaign that is still in draft?”
Tell an agent
Activate campaign {id}.
Publish draft campaign {id} so it goes live.
POST /assets/campaign/draft/{id} Deactivate an active campaign · Oracle Eloqua Deactivate a campaign #
Ask an LLM
“How do I pause an active campaign and return it to draft?”
“Can I stop a campaign without deleting it?”
Tell an agent
Deactivate campaign {id}.
Put active campaign {id} back into draft.

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-campaigns-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-campaigns-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Oracle Eloqua REST Campaigns 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: Campaigns
  description: Create and manage marketing campaigns
paths:
  /assets/campaigns:
    get:
      operationId: listCampaigns
      summary: Oracle Eloqua List campaigns
      description: Retrieve all campaigns matching the specified criteria.
      tags:
      - Campaigns
      parameters:
      - $ref: '#/components/parameters/count'
      - $ref: '#/components/parameters/depth'
      - $ref: '#/components/parameters/page'
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/orderBy'
      - $ref: '#/components/parameters/lastUpdatedAt'
      responses:
        '200':
          description: Successfully retrieved campaigns
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueryResultCampaign'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
  /assets/campaign:
    post:
      operationId: createCampaign
      summary: Oracle Eloqua Create a campaign
      description: Create a new marketing campaign.
      tags:
      - Campaigns
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Campaign'
      responses:
        '201':
          description: Campaign created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Campaign'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
  /assets/campaign/{id}:
    get:
      operationId: getCampaign
      summary: Oracle Eloqua Retrieve a campaign
      description: Retrieve a single campaign by its identifier.
      tags:
      - Campaigns
      parameters:
      - $ref: '#/components/parameters/id'
      - $ref: '#/components/parameters/depth'
      responses:
        '200':
          description: Successfully retrieved campaign
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Campaign'
        '401':
          description: Unauthorized
        '404':
          description: Campaign not found
    put:
      operationId: updateCampaign
      summary: Oracle Eloqua Update a campaign
      description: Update an existing campaign.
      tags:
      - Campaigns
      parameters:
      - $ref: '#/components/parameters/id'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Campaign'
      responses:
        '200':
          description: Successfully updated campaign
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Campaign'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '404':
          description: Campaign not found
    delete:
      operationId: deleteCampaign
      summary: Oracle Eloqua Delete a campaign
      description: Delete a campaign by its identifier.
      tags:
      - Campaigns
      parameters:
      - $ref: '#/components/parameters/id'
      responses:
        '204':
          description: Campaign deleted successfully
        '401':
          description: Unauthorized
        '404':
          description: Campaign not found
  /assets/campaign/active/{id}:
    post:
      operationId: activateCampaign
      summary: Oracle Eloqua Activate a campaign
      description: Activate a campaign, changing its status from Draft to Active.
      tags:
      - Campaigns
      parameters:
      - $ref: '#/components/parameters/id'
      responses:
        '200':
          description: Campaign activated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Campaign'
        '401':
          description: Unauthorized
        '404':
          description: Campaign not found
  /assets/campaign/draft/{id}:
    post:
      operationId: deactivateCampaign
      summary: Oracle Eloqua Deactivate a campaign
      description: Deactivate a campaign, changing its status from Active to Draft.
      tags:
      - Campaigns
      parameters:
      - $ref: '#/components/parameters/id'
      responses:
        '200':
          description: Campaign deactivated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Campaign'
        '401':
          description: Unauthorized
        '404':
          description: Campaign not found
components:
  schemas:
    QueryResultCampaign:
      type: object
      properties:
        elements:
          type: array
          items:
            $ref: '#/components/schemas/Campaign'
        page:
          type: integer
        pageSize:
          type: integer
        total:
          type: integer
    Campaign:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the campaign
          readOnly: true
        name:
          type: string
          description: Campaign name
        description:
          type: string
          description: Campaign description
        currentStatus:
          type: string
          enum:
          - Active
          - Draft
          - Scheduled
          - Completed
          description: Current campaign status
          readOnly: true
        campaignCategory:
          type: string
          enum:
          - emailMarketing
          - contact
          description: Campaign type - emailMarketing for simple campaigns, contact for multi-step campaigns
        startAt:
          type: string
          description: Campaign start date (Unix time)
        endAt:
          type: string
          description: Campaign end date (Unix time)
        memberCount:
          type: integer
          description: Number of members entered in the last 90 days
          readOnly: true
        folderId:
          type: string
          description: Containing folder identifier
          readOnly: true
        createdAt:
          type: string
          description: Creation timestamp (Unix time)
          readOnly: true
        updatedAt:
          type: string
          description: Last update timestamp (Unix time)
          readOnly: true
        createdBy:
          type: string
          description: User who created the campaign
          readOnly: true
        updatedBy:
          type: string
          description: User who last updated the campaign
          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
    lastUpdatedAt:
      name: lastUpdatedAt
      in: query
      description: Unix timestamp to filter entities updated after this time
      schema:
        type: integer
    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/