cURL
curl --request POST \ --url https://api-qa.interactly.ai/workflows/v1/global-variables \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "value": "", "description": "<string>", "category": "<string>", "is_secret": false } '
{ "variable": { "name": "<string>", "team_id": "<string>", "created_by": "<string>", "updated_by": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "_id": "5eb7cf5a86d9755df3a6c593", "value": "", "description": "<string>", "category": "<string>", "is_secret": false } }
Create a new global variable for the team.
Retrieve your API Key from Dashboard API Keys Section.
1 - 256
1024
128
Successful Response
Stores organization/team-level global variables that are automatically injected into every workflow execution for that team.
Show child attributes