Integrations
Preview

Start installing the GitHub App

Returns the address where a person installs the Wardn GitHub App on their GitHub account or organization. The address carries a one-time `state` that ties the install to this organization and to the caller; GitHub sends the person back to the setup callback (`completeGithubSetup`) with it. The answe

POST
/github/install-links
cookiebetter-auth.session_token<token>

Better Auth session cookie. Production uses the __Secure- prefixed name.

Idempotency-Key?string

Makes retries safe. A repeated key with the same request returns the first result and sets Idempotent-Replayed: true. The same key with a different request answers 409 idempotency.key_reused, and while the first request is still running 409 idempotency.in_progress. Results are kept for 24 hours. Server errors and refusals for lack of sign-in or permission are not kept, so a retry runs again.

Match^[A-Za-z0-9_.:-]+$
Length1 <= length <= 255

Response Body

Where to install the App.

application/json
  1. response
url*string
expiresAt*string
Formatdate-time
Example Request
curl -X POST 'https://wardn.example.com/api/v1/github/install-links'
Example Response
{  "url": "string",  "expiresAt": "2019-08-24T14:15:22Z"}