8 months ago
I'm wondering if it's possible to trigger a deployment programatically through a webhook or API request? I saw that you have webhooks, but only outgoing, and not incoming.
Also quickly read through your public API, but I didn't find an endpoint to start a new deployment.
Loving your platform so far! Upgraded to Pro today.
12 Replies
8 months ago
Check the public API guide
https://docs.railway.com/guides/public-api
Hey, like I said in the original post:
Also quickly read through your public API, but I didn't find an endpoint to start a new deployment.
8 months ago
Some example code -
8 months ago
It's through mutations using GraphQL, there's a playground here https://railway.com/graphiql
8 months ago
In Medim's defense, everything you needed was in the link he provided.

8 months ago
Sorry, I just didn't have any code example.. I thought the Public API guide was enough since it shows how you can do said requests and the playground shows you all the available mutations.
8 months ago
The bottleneck here was the quick-read aspect of your approach to trying to find your answer.
I haven't used GraphQL since 2021, I tried searching for the keyword "deploy" in the playground before opening a thread but roughly 50 results pop up 🙂
Was just looking for which specific mutation to use 😉
8 months ago
!s
Status changed to Solved brody • 8 months ago