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>"
}
Cria um novo agente no workspace
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>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID do workspace
Dados do agente a ser criado
The body is of type object
.
Agente criado com sucesso
The response is of type object
.