Create API Gateway REST API to provide public HTTPS endpoint for GitHub webhook delivery to Receptionist Lambda.
- REST API (not HTTP API) for webhook signature validation features
- Resource path:
/webhook - Method:
POSTonly - Stage:
prodfor production deployment
- Lambda Proxy Integration enabled
- Passes complete HTTP request to Receptionist Lambda
- No transformation of request/response
- Timeout: 29 seconds (API Gateway maximum)
- No API Gateway authentication (webhook signature validated in Lambda)
- CORS not required (server-to-server webhook, not browser)
- Rate limiting: Default API Gateway throttling sufficient
- Single stage deployment:
prod - Generates public URL:
https://{api-id}.execute-api.{region}.amazonaws.com/prod/webhook - This URL configured in GitHub webhook settings
API Gateway expects Lambda to return:
{
"statusCode": 200,
"body": "Webhook received",
"headers": {"Content-Type": "text/plain"}
}- None (pure AWS infrastructure)
- Future: Receptionist Lambda for integration target
Once deployed, configure GitHub repository webhook:
- Payload URL: API Gateway endpoint
- Content type:
application/json - Events: Push events only (initial scope)
- Secret: Shared secret for signature validation
Ready for implementation. Creates foundation for webhook processing pipeline.