# API endpoint to select different deployment script

**Project:** API | **Board:** Planned | **Votes:** 3
**URL:** https://roadmap.ploi.io/projects/6-api-level-requests/items/942-api-endpoint-to-select-different-deployment-script

---

Currently the admin panel supports creating different deploy scripts. There is no API endpoint to use these.

I would like to request a possibility in api/servers/{server}/sites/{id}/deploy to set a deployment script ID as parameter.

And I would suggest to add to GET api/servers/{server}/sites/{id}
A list of set of name and ID of each deployment script.

Of course making an extra unique endpoint for this could also be possible, but I suggest to add it to GET SITE because it is only a small amount of data and would prevent the need for an extra request.

Also, I would like this endpoint to show in raycast a button for each deploy script, a feature I would really like. If you are open to adding this, I could submit a PR for such a feature.
