POST
/
v2
/
workspace
/
{workspaceId}
/
agents
curl --request POST \
  --url https://api.gptmaker.ai/v2/workspace/{workspaceId}/agents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "avatar": "<string>",
  "behavior": "<string>",
  "communicationType": "FORMAL",
  "type": "SUPPORT",
  "jobName": "<string>",
  "jobSite": "<string>",
  "jobDescription": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "behavior": "<string>",
  "avatar": "<string>",
  "communicationType": "FORMAL",
  "type": "SUPPORT",
  "jobName": "<string>",
  "jobSite": "<string>",
  "jobDescription": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string
required

ID do workspace

Body

application/json

Dados do agente a ser criado

The body is of type object.

Response

200
application/json

Agente criado com sucesso

The response is of type object.