POST
/
v2
/
mcp
/
connect
cURL
curl --request POST \
  --url https://api.gptmaker.ai/v2/mcp/connect \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "code": "3cf778033a85c96b236f88733342d614:hXK8aaN7dARJn0rn:ahvDhFFDCLnwPxbrnDUm24XSGY5tBvTi",
  "state": "17b64ff8-f7be-49d6-a7f6-00da9592b216"
}'
{
  "agentId": "<string>",
  "success": true,
  "mcpId": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Dados de retorno do fluxo OAuth para criação da integração MCP

The body is of type object.

Response

200
application/json

Integração vinculada ao agente com sucesso

The response is of type object.