This page is also inEN
iTeam
API guide · Development and cloud With your company’s credentials

OpenAI API: what you can do and how to use it with AI agents

The OpenAI API gives programmatic access to OpenAI's models for text, audio, images and embeddings, plus files, batch jobs and tool use. Developers and product teams use it to classify, extract, summarize and transcribe at scale. Access works with an API key created in your own OpenAI account, so usage and billing stay with your company.

Edit it as you like

You sign in or create a free account to send. Your request is kept and goes right on.

Nina
API guide

What the OpenAI API offers

Responses

Send text, image or audio input to a model and get a generated answer, with tool calling and structured output.

Chat completions

The earlier conversational endpoint, still used by many integrations.

Audio

Transcribe speech to text and generate speech from text.

Embeddings

Turn text into vectors for search, grouping and similarity checks.

Files and batches

Upload files and run large sets of requests asynchronously.

Models and moderation

List the models your key can use and check content against moderation rules.

How to access the OpenAI API

  • With your company’s credentialsBearer token: every request sends the API key in the Authorization header. The base address is https://api.openai.com/v1. If you belong to several organizations, the optional OpenAI-Organization and OpenAI-Project headers choose where usage is counted. Keys are secret and must stay on the server.
  • Rate limits and quotas depend on your account, so read them in your dashboard and make agents retry politely instead of looping.
  • Model output can be wrong. Keep a person in the loop wherever a mistake would cost money or reach a customer.
  • Do not send personal or confidential data you are not allowed to share, and check your data settings and the provider's terms first.

Official documentation: developers.openai.com/api/reference/overview

Example request

Example: list available models with the OpenAI API

curl https://api.openai.com/v1/models \
  -H "Authorization: Bearer $OPENAI_API_KEY"

A harmless read-only call that confirms the key works and shows which models the account can use. The key travels as a Bearer token.

Source: developers.openai.com. Check the official documentation for the current version and your plan.

What an iTeam agent does with the OpenAI API

Classify incoming requests

The agent reads support tickets or e-mails, asks the model for a category and priority, and routes each one to the right queue. Anything marked sensitive waits for a person.

Extract data from documents

The agent pulls fields such as supplier, amount and due date out of invoices or contracts into a structured record, and a person approves it before it reaches the ERP.

Transcribe and summarize calls

The agent sends recordings to the audio endpoint, summarizes the text and posts decisions and next steps in the team channel.

Draft replies for review

The agent prepares answers to customers from your knowledge base. A person reviews and sends, and the audit log shows who approved what.

From the credential to the agent at work, with approval

01

Create the key in your OpenAI account

In the OpenAI dashboard, create an API key in a project dedicated to the agents and set the limits the account offers.

02

Store the key in the iTeam vault

The key stays in the vault, never in prompts. Each agent gets only the actions it needs, for example transcribing but not sending messages.

03

Test small, with approval on

OpenAI has no separate test environment, so start with a few real, low-risk inputs, human approval on every output and a cost cap per agent.

Questions

Questions about the OpenAI API

Is the OpenAI API free?

Not by default. API usage is billed to your own account according to the model and volume you use. Check the pricing page on OpenAI's site, because plans and prices change.

Do I need to code to use the OpenAI API with iTeam?

Not necessarily. iTeam's HTTP tool reads the API documentation and learns the endpoints, and the deployment team sets up the key, permissions and tests with you.

Is my data safe when an agent calls the OpenAI API?

The key sits in the iTeam vault, each agent has its own permissions and every call is logged. What the provider does with data sent to it is set by your account terms, so review them.

Whose key and whose bill is it?

Yours. The agent uses the key from your own OpenAI account, so billing, limits and revocation stay under your control.

Next step

Put an AI team to work this week.

Start free with a pre-built team, or talk to us and our squad puts AI in production with your people.

300+integrations
4languages
Agents working right now