Push Key Secrets
RevGems uses Push Key Secrets to authenticate requests. You can find these on the Push Keys page in your RevGems dashboard. Be sure to use the test mode push key secret in your development environment and the live mode push key secret in your production environment.
Keep your Push Key Secrets safe. Never expose them publicly through a web browser or commit them unencrypted to version control systems like git.
Authenticating Requests
Provide your Push Key Secret as a Bearer token in the Authorization header:
Authorization: Bearer push_key_secret_ABCDEFG123456
A 401 Unauthorized error response will be returned if authentication fails.
{
"success": false,
"errors": ["Invalid push key."]
}