Users
Create a single-use connect code for the agent-swarm.dev ChatGPT connector
Changed onReturns a 10-minute single-use code and the connector URL that carries it. The connector trades the code for an MCP token at POST /api/connector/exchange.
post/api/users/{id}/connector-codes
Request
- Base URLhttp://localhost:3013
- URLhttp://localhost:3013/api/users/{id}/connector-codes
- AuthHTTP bearer
Path parameters
idstring required
Request body
Response
Connect code, its expiry and the connector URL
Changes
- info
endpoint added
- info