# Create Multiple Workspace Variables in one API call

**URL:** <https://discuss.hashicorp.com/t/create-multiple-workspace-variables-in-one-api-call/40634>\
**Category:** HCP Terraform\
**Tags:** hcp-terraform\
**Created:** [June 10, 2022, 6:46am UTC](https://discuss.hashicorp.com/t/create-multiple-workspace-variables-in-one-api-call/40634 "2022-06-10T06:46:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![soundarya](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/soundarya/32/26666_2.png) [@soundarya](https://discuss.hashicorp.com/u/soundarya)\
**Post date:** [June 10, 2022, 6:46am UTC](https://discuss.hashicorp.com/t/create-multiple-workspace-variables-in-one-api-call/40634/1 "2022-06-10T06:46:02Z")

</div>

Using [Workspace Variables - API Docs - Terraform Cloud and Terraform Enterprise | Terraform by HashiCorp](https://www.terraform.io/cloud-docs/api-docs/workspace-variables#workspace-variables-api), I am able to create one variable in an API call. But I need to know if it is possible to create multiple workspace variables in an API request.

Someone Please clarify the above query. Thanks in Advance!

---

<div class="post-metadata">

**Author:** ![chrisarcand](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/chrisarcand/32/1416_2.png) [@chrisarcand](https://discuss.hashicorp.com/u/chrisarcand)\
**Post date:** [July 1, 2022, 2:59am UTC](https://discuss.hashicorp.com/t/create-multiple-workspace-variables-in-one-api-call/40634/2 "2022-07-01T02:59:59Z")

</div>

Hi!

There is not a endpoint for creating workspace variables in bulk, no; in general, the TFC API follows the JSON:API specification where a single resource identifier is used per atomic create operation.
