AdBlast icon

AdBlast

Interact with AdBlast API

Environments → Create Environment

AI-generated

Summary

Create an environment in AdBlast.

Inputs

  • authenticationMethod (required) — Select how to authenticate: either using saved credentials or a dynamic API key.
  • url (required) — The base URL for the AdBlast API (required if using a dynamic API key).
  • apiKey (required) — Your AdBlast API key, can be provided dynamically using expressions (required if using a dynamic API key).
  • project_id (required) — The ID of the project associated with the environment.
  • id (required) — A unique valid UUID for the environment.
  • name (required) — The name of the environment.
  • prompt (required) — The description prompt for the environment.
  • requestOptions — Additional request options for the environment creation.

Output shape

no body — success/failure only

The operation confirms creation success or failure without returning any data.

Examples

Example 1: Creating an environment using predefined credentials.

Set 'authenticationMethod' to 'credentials', provide 'project_id', 'id', 'name', and 'prompt'.

Example 2: Creating an environment with a dynamic API key.

Set 'authenticationMethod' to 'dynamic', provide 'url' and 'apiKey', along with 'project_id', 'id', 'name', and 'prompt'.

Discussion