Make GraphQL requests (queries and mutations) to a GraphQL-based API
Connections
API Key
API Key connection
If an API Key connection is supplied, an Authorization: Basic ${APIKEY} header is used in the HTTP request.
| Input |
Comments |
Default |
| API Key |
API Key |
|
| Authentication Scheme |
The authentication scheme to use |
Basic |
Basic Username/Password
Basic Username and Password connection
If a Basic Auth connection is supplied, an Authorization: Basic ${base64(USERNAME:PASSWORD)} header is used in the HTTP request.
| Input |
Comments |
Default |
| Username |
Username |
|
| Password |
Password |
|
OAuth 2.0 Authorization Code
OAuth 2.0 Authorization Code flow
If an OAuth 2.0 connection are supplied, an Authorization: Bearer ${KEY} header is used in the HTTP request, where KEY is the client key that is fetched from the OAuth provider.
This connection uses OAuth 2.0, a common authentication mechanism for integrations.
Read about how OAuth 2.0 works here.
| Input |
Comments |
Default |
| Authorize URL |
The OAuth 2.0 Authorization URL for the API |
|
| Token URL |
The OAuth 2.0 Token URL for the API |
|
| Scopes |
Space separated OAuth 2.0 permission scopes for the API |
|
| Client ID |
Client Identifier of your app for the API |
|
| Client Secret |
Client Secret of your app for the API |
|
| Headers |
Additional header to supply to authorization requests |
|
OAuth 2.0 Client Credentials
OAuth 2.0 Client Credentials flow
This connection uses OAuth 2.0, a common authentication mechanism for integrations.
Read about how OAuth 2.0 works here.
| Input |
Comments |
Default |
| Token URL |
The OAuth 2.0 Token URL for the API |
|
| Scopes |
Space separated OAuth 2.0 permission scopes for the API |
|
| Client ID |
Client Identifier of your app for the API |
|
| Client Secret |
Client Secret of your app for the API |
|
| Headers |
Additional header to supply to token requests |
|
Actions
GraphQL Request
Issue a generic GraphQL request
| Input |
Comments |
Default |
| Connection |
|
|
| GraphQL Endpoint |
The endpoint of the GraphQL API |
|
| Query or Mutation |
|
query ($customerName: String!) { customers(name: $customerName) { nodes { id labels users { nodes { id email } } } } } |
| Variables |
Variables to pass in to your query or mutation |
|
| Headers |
Custom headers to send along with your request |
|
| Debug Request |
When true, the entire request and response (including auth headers) will be logged out. |
false |