Skip to main content
POST
/
github-intake
/
:repoDataId
GitHub Webhook Handler
curl --request POST \
  --url https://www.api.baselink.tech/github-intake/:repoDataId \
  --header 'bearer: <api-key>'
{
  "success": true,
  "message": "<string>",
  "intakeId": "<string>",
  "eventType": "<string>"
}
Handle incoming GitHub webhooks for a specific repository.
success
boolean
Indicates if the webhook was processed successfully.
message
string
Processing result message.
intakeId
string
The ID of the created intake record.
eventType
string
The type of GitHub webhook event processed.
The exact payload structure depends on the GitHub webhook event type (push, pull request, issues, etc.). This endpoint processes various GitHub events and creates corresponding intake records.