openapi: 3.2.0 info: title: REST API for Oracle Eloqua Marketing Cloud Service Application/1.0/Email headers API description: The Oracle Eloqua Marketing Cloud Service REST APIs enable you to extend the functionality of the product, build Apps, and perform high volume data transfers. version: 2026.08.07 x-summary: The Oracle Eloqua Marketing Cloud Service REST APIs enable you to extend the functionality of the product, build Apps, and perform high volume data transfers. tags: - name: Application/1.0/Email headers description: 'Email headers are used to customize the look and feel of the top of your email. Headers can be used in your emails for branding purposes (your company''s logo), to provide links to other (external) resources, or to display the link for a contact to view the email in a browser. Email headers are automatically added to your email after selecting and saving the email group to which it belongs, but you can also select a different header on a per-email basis from the email header chooser. Learn more about email headers.' paths: /api/rest/1.0/assets/email/header: post: operationId: CreateIndividualPOSTRest10 summary: Create an email header description: Creates an email header that matches the criteria specified by the request body. responses: '201': description: Success content: application/json: schema: $ref: '#/components/schemas/EmailHeaderRest10' '400': description: Bad request. See Status Codes for information about other possible HTTP status codes. '401': description: Unauthorized. See Status Codes for information about other possible HTTP status codes. '403': description: Forbidden. See Status Codes for information about other possible HTTP status codes. '404': description: The requested resource was not found. See Status Codes for information about other possible HTTP status codes. '500': description: The service has encountered an error. See Status Codes for information about other possible HTTP status codes. tags: - Application/1.0/Email headers x-internal-id: api-rest-1.0-assets-email-header-post x-filename-id: api-rest-1.0-assets-email-header-post requestBody: content: application/json: schema: $ref: '#/components/schemas/EmailHeaderRest10' description: The request body defines the details of the email header to be updated. required: true /api/rest/1.0/assets/email/header/{id}: get: operationId: ReadIndividualGETRest10 parameters: - name: id in: path description: Id of the email header to be retrieved. required: true schema: type: integer - name: depth in: query description: 'Level of detail returned by the request. Eloqua APIs can retrieve entities at three different levels of depth: minimal, partial, and complete. Any other values passed are reset to complete by default. For more information, see Request depth.' required: false schema: type: string summary: Retrieve an email header description: Retrieves the email header specified by the id parameter. responses: '200': description: OK. content: application/json: schema: $ref: '#/components/schemas/EmailHeaderRest10' '400': description: Bad request. See Status Codes for information about other possible HTTP status codes. '401': description: Unauthorized. See Status Codes for information about other possible HTTP status codes. '403': description: Forbidden. See Status Codes for information about other possible HTTP status codes. '404': description: The requested resource was not found. See Status Codes for information about other possible HTTP status codes. '500': description: The service has encountered an error. See Status Codes for information about other possible HTTP status codes. tags: - Application/1.0/Email headers x-internal-id: api-rest-1.0-assets-email-header-{id}-get x-filename-id: api-rest-1.0-assets-email-header-id-get put: operationId: UpdateIndividualPUTRest10 parameters: - name: id in: path description: Id of the email header to update. required: true schema: type: integer summary: Update an email header description: Updates the email header specified by the id parameter. All properties should be included in PUT requests, as some properties will be considered blank if not included. responses: '200': description: OK. content: application/json: schema: $ref: '#/components/schemas/EmailHeaderRest10' '400': description: Bad request. See Status Codes for information about other possible HTTP status codes. '401': description: Unauthorized. See Status Codes for information about other possible HTTP status codes. '403': description: Forbidden. See Status Codes for information about other possible HTTP status codes. '404': description: The requested resource was not found. See Status Codes for information about other possible HTTP status codes. '500': description: The service has encountered an error. See Status Codes for information about other possible HTTP status codes. tags: - Application/1.0/Email headers x-internal-id: api-rest-1.0-assets-email-header-{id}-put x-filename-id: api-rest-1.0-assets-email-header-id-put requestBody: content: application/json: schema: $ref: '#/components/schemas/EmailHeaderRest10' description: The request body defines the details of the email header to be created. required: true delete: operationId: DeleteIndividualDELETERest10 parameters: - name: id in: path description: Id of the email header to be deleted. required: true schema: type: integer summary: Delete an email header description: Deletes the email header specified by the id parameter. responses: '200': description: OK. '400': description: Bad request. See Status Codes for information about other possible HTTP status codes. '401': description: Unauthorized. See Status Codes for information about other possible HTTP status codes. '403': description: Forbidden. See Status Codes for information about other possible HTTP status codes. '404': description: The requested resource was not found. See Status Codes for information about other possible HTTP status codes. '500': description: The service has encountered an error. See Status Codes for information about other possible HTTP status codes. tags: - Application/1.0/Email headers x-internal-id: api-rest-1.0-assets-email-header-{id}-delete x-filename-id: api-rest-1.0-assets-email-header-id-delete /api/rest/1.0/assets/email/headers: get: operationId: SearchGETRest10 parameters: - name: depth in: query description: 'Level of detail returned by the request. Eloqua APIs can retrieve entities at three different levels of depth: minimal, partial, and complete. Any other values passed are reset to minimal by default.' required: false schema: type: string - name: count in: query description: Maximum number of entities to return. Must be less than or equal to 1000 and greater than or equal to 1. required: false schema: type: integer - name: page in: query description: Specifies which page of entities to return (the count parameter defines the number of entities per page). If the page parameter is not supplied, 1 will be used by default. required: false schema: type: integer - name: search in: query description: Specifies the search criteria used to retrieve entities. See the tutorial for information about using this parameter. required: false schema: type: string - name: orderBy in: query description: Specifies the field by which list results are ordered. required: false schema: type: string - name: lastUpdatedAt in: query description: When the email header was last updated. required: false schema: type: integer summary: Retrieve a list of email headers description: Retrieves all email headers that match the criteria specified by the request parameters. responses: '200': description: OK. content: application/json: schema: $ref: '#/components/schemas/QueryResultHeaderRest10' '400': description: Bad request. See Status Codes for information about other possible HTTP status codes. '401': description: Unauthorized. See Status Codes for information about other possible HTTP status codes. '403': description: Forbidden. See Status Codes for information about other possible HTTP status codes. '404': description: The requested resource was not found. See Status Codes for information about other possible HTTP status codes. '500': description: The service has encountered an error. See Status Codes for information about other possible HTTP status codes. tags: - Application/1.0/Email headers x-internal-id: api-rest-1.0-assets-email-headers-get x-filename-id: api-rest-1.0-assets-email-headers-get components: schemas: FieldMergeRest10: title: FieldMerge properties: type: type: string description: The asset's type in Eloqua. This is a read-only property. id: type: string readOnly: true description: Id of the field merge. This is a read-only property. currentStatus: type: string description: The field merge's current status. name: type: string description: Name of the field merge. description: type: string description: The description of the field merge. permissions: type: string description: The permissions for the field merge granted to your current instance. createdBy: type: string readOnly: true description: The login id of the user who created the field merge. createdAt: type: string readOnly: true description: The date and time the field merge was created, expressed in Unix time. updatedBy: type: string readOnly: true description: The login id of the user that last updated the field merge. updatedAt: type: string readOnly: true description: Unix timestamp for the date and time the field merge was last updated. depth: type: string readOnly: true description: 'Level of detail returned by the request. Eloqua APIs can retrieve entities at three different levels of depth: minimal, partial, and complete. Any other values passed are reset to complete by default. For more information, see Request depth.' syntax: type: string description: The syntax of the field merge. defaultValue: type: string description: The default value of the field merge. contactFieldId: type: string description: Id of the associated contact field. accountFieldId: type: string description: Id of the associated account field. eventId: type: string description: Id of the associated event. eventFieldId: type: string description: Id of the associated event field. eventSessionFieldId: type: string description: Id of the associated event session field. mergeType: type: string description: 'Type of the field merge. Possible values include: contactField, accountField, eventField, eventSessionField, and customObjectField.' EmailHeaderRest10: title: EmailHeader properties: type: type: string description: 'The asset''s type in Eloqua. This is a read-only property. ' id: type: string readOnly: true description: Id of the email header. This is a read-only property. currentStatus: type: string description: The asset's current status. This is a read-only property. name: type: string description: The name of the email header. description: type: string description: The description of the email header. permissions: type: string description: The permissions for the email header granted to your current instance. This is a read-only property. createdBy: type: string readOnly: true description: The login id of the user who created the email header. createdAt: type: string readOnly: true description: The date and time the email header was created, expressed in Unix time. updatedBy: type: string readOnly: true description: The login id of the user that last updated the email header. updatedAt: type: string readOnly: true description: Unix timestamp for the date and time the email header was last updated. depth: type: string readOnly: true description: 'Level of detail returned by the request. Eloqua APIs can retrieve entities at three different levels of depth: minimal, partial, and complete. Any other values passed are reset to complete by default. For more information, see Request depth.' body: type: string description: The email header's html text content. text: type: string description: The raw text from the "body" parameter. fieldMerges: type: array description: A list of associated Field Merges. items: $ref: '#/components/schemas/FieldMergeRest10' hyperlinks: type: array description: A list of hyperlinks contained within the asset. items: $ref: '#/components/schemas/HyperlinkRest10' QueryResultHeaderRest10: title: QueryResultHeader properties: type: type: string description: The asset's type in Eloqua. elements: type: array description: Array of header fields. items: $ref: '#/components/schemas/EmailHeaderRest10' total: type: integer description: The total amount of results. pageSize: type: integer description: The page size. page: type: integer description: The specified page. HyperlinkRest10: title: Hyperlink properties: type: type: string description: The asset's type in Eloqua. This is a read-only property. id: type: string readOnly: true description: Id of the hyperlink. This is a read-only property. currentStatus: type: string description: The hyperlink's current status. name: type: string description: Name of the hyperlink. description: type: string description: The description of the hyperlink. permissions: type: string description: The permissions for the hyperlink granted to your current instance. createdBy: type: string readOnly: true description: The login id of the user who created the hyperlink. createdAt: type: string readOnly: true description: The date and time the hyperlink was created, expressed in Unix time. updatedBy: type: string readOnly: true description: The login id of the user that last updated the hyperlink. updatedAt: type: string readOnly: true description: Unix timestamp for the date and time the hyperlink was last updated. depth: type: string readOnly: true description: 'Level of detail returned by the request. Eloqua APIs can retrieve entities at three different levels of depth: minimal, partial, and complete. Any other values passed are reset to complete by default. For more information, see Request depth.' href: type: string description: Href value of the hyperlink. hyperlinkType: type: string description: 'The type of hyperlink. Possible values include: ExternalURL, ICSCalendarURL, LandingPageURL, ReferrerURL, RSSURL, or TrackedExternalURL.' referencedEntityId: type: string description: Id of the referenced entity.