Authentication
Key
Prefix
Intended use
Keep it where?
Authenticating a Request
Authorization: Bearer CSHRMP-SECK_xxxxxxxxxxxxxxxxxxxxxxExample (Axios)
import axios from "axios";
const cashramp = axios.create({
baseURL: "https://api.useaccrue.com/cashramp/api/graphql",
headers: {
Authorization: `Bearer ${process.env.CSHRMP_SECRET_KEY}`,
},
});Last updated