Meetup API Credentials
The meetup_archive repo connects to the Meetup.com API every 12 hours to archive chapter and event data.
It uses JWT-based authentication, which requires three secrets.
Secrets
| Secret | What it is |
|---|---|
JWT_TOKEN |
A JWT signing key (RSA private key) registered with the Meetup API |
JWT_ISSUER |
The Meetup user ID associated with the API application |
CLIENT_KEY |
The OAuth client key from the Meetup API application |
These are stored as repo-level secrets on rladies/meetup_archive.
How authentication works
The meetupr R package handles the authentication flow:
- It signs a JWT using
JWT_TOKENandJWT_ISSUER - It exchanges that JWT for an OAuth access token using
CLIENT_KEY - It uses the access token to call the Meetup GraphQL API
This is tied to the R-Ladies Meetup Pro account, which has access to all R-Ladies chapter data.
Creating new credentials
If the credentials need to be regenerated:
- Log in to meetup.com with the R-Ladies Pro account
- Go to the API applications page
- Either edit the existing application or create a new one
- Generate a new RSA key pair for JWT signing if needed
- Note the Client Key and Member ID (used as
JWT_ISSUER)
Then update the secrets:
gh secret set JWT_TOKEN --repo rladies/meetup_archive < private_key.pem
gh secret set JWT_ISSUER --repo rladies/meetup_archive --body "<meetup-user-id>"
gh secret set CLIENT_KEY --repo rladies/meetup_archive --body "<client-key>"Troubleshooting
401 Unauthorizedin archive workflow- The JWT token or client key has expired or been revoked. Regenerate the credentials following the steps above.
- Data is incomplete or chapters are missing
- Check that the Meetup Pro account still has admin access to the R-Ladies Pro network. Chapters removed from the Pro network won’t appear in API responses.