Magidoc

CreateHttpConnectionInput
Input Object

Fields

#

authType

Authentication type: defaults to 'headers' for backward compatibility

description

Non-null

Description shown to AI for tool selection

documentationUrl

Optional link to API documentation

headers

Headers object containing keys and values (values will be encrypted). Required when authType is 'headers', ignored for 'oauth'. Example: { "Authorization": "Bearer sk-xxx", "X-Api-Key": "abc123" }

name

Non-null

Tool name (must be snake_case, e.g., "satismeter_api")

oauthAuthorizationUrl

oauthClientId

OAuth client credentials and endpoints (when authType = 'oauth')

oauthClientSecret

oauthScopes

oauthTokenUrl

origin

Non-null

Base URL for the API (e.g., "https://api.satismeter.com ")

sharedWith

[ID !]

User IDs to share with (required when sharingType = 'custom')

sharingType

Sharing scope. Defaults to 'me' (only creator) for backward compatibility.

Usages

#

References

#

  • Argument input of field createHttpConnection from type Mutation