Gitsink Developer Portal

Access synced GitHub data, enrich metadata, and integrate projects using our REST and GraphQL APIs.

Quickstart

Get started quickly with the Gitsink API using these examples.

Fetch Projects
Retrieve all your synced GitHub projects
curl https://api.gitsink.dev/v1/projects \
  -H "Authorization: Bearer YOUR_API_KEY"

Note: Replace YOUR_API_KEY with your actual API key from the dashboard.

Core Endpoints

Explore the main API endpoints available for your integration needs.

EndpointMethodDescription
/projectsGETRESTList all synced GitHub projects with pagination support
/syncPOSTRESTTrigger a manual sync of your GitHub repositories
/projects/:idGETRESTGet detailed metadata for a specific project
query { projects }QUERYGraphQLGraphQL: fetch all projects with customizable fields
mutation { sync }MUTATIONGraphQLGraphQL: trigger a sync operation

Authentication

Secure your API requests using API keys for authentication.

API Key Format

Gitsink API keys follow a specific format for security and traceability:

  • Format: gsk_live_xxxxxxxxxx for production or gsk_test_xxxxxxxxxx for testing
  • Security: Store your API keys securely and never expose them in client-side code
  • Rotation: You can rotate your API keys at any time from the dashboard

Authentication Header

Include this header in all API requests

Authorization: Bearer YOUR_API_KEY

All API requests must include your API key in the Authorization header as a Bearer token.

Try it live in our API sandbox

Test API calls, explore responses, and build your integration in our interactive sandbox.

Launch Sandbox