Skip to content
Alchemy Logo

Create a Variable

POST
https://dashboard.alchemy.com/api/graphql/variables/{variable}

This endpoint allows you to create a variable that can be inserted into a Custom Webhook GraphQL statement.

If the variable does not exist, it is created with the provided items. If it already exists, the call is additive: existing items are unchanged, new items are appended, and duplicates are ignored (no error is thrown).

Headers

stringrequired

Alchemy Auth token to use the Notify API.

Path Parameters

stringrequired

String denoting a Custom Webhook variable

Request Body

Responses

201

OK- Successful creation of a Custom Webhook variable

400

Bad Request- The server cannot understand the request.

500

Internal Server Error- Try again

Was this page helpful?