agentsclimarketplace

Ramp enterprise rbac

Skill jeremylongshore/claude-code-plugins-plus-skills/skills/.curated/ramp-enterprise-rbac

Ramp enterprise rbac \u2014 corporate card and expense management API\ \ integration. Use when working with Ramp for card management, expenses, or accounting\ \ sync. Trigger with phrases like "ramp enterprise rbac", "ramp-enterprise-rbac"\ , "corporate card API".From its SKILL.md

Install
npx -y skills add jeremylongshore/claude-code-plugins-plus-skills --skill ramp-enterprise-rbac

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

1.9 KB, 303 tokens by cl100k_base, as published. Nobody here has run it

Ramp Enterprise Rbac

Overview

Implementation patterns for Ramp enterprise rbac using the Developer API with OAuth2 authentication.

Prerequisites

  • Completed ramp-install-auth setup

Instructions

Step 1: API Call Pattern

import os, requests

# Obtain token
token_resp = requests.post(f"{os.environ['RAMP_BASE_URL'].replace('/v1','')}/v1/token", data={
    "grant_type": "client_credentials",
    "client_id": os.environ["RAMP_CLIENT_ID"],
    "client_secret": os.environ["RAMP_CLIENT_SECRET"],
})
access_token = token_resp.json()["access_token"]
headers = {"Authorization": f"Bearer {access_token}"}

cards = requests.get(f"{os.environ['RAMP_BASE_URL']}/cards", headers=headers)
print(f"Cards: {len(cards.json()['data'])}")

Output

  • Ramp API integration for enterprise rbac

Error Handling

ErrorCauseSolution
401 UnauthorizedExpired tokenRe-authenticate
429 Rate LimitedToo many requestsImplement backoff
403 ForbiddenInsufficient permissionsCheck API app permissions

Resources

Next Steps

See related Ramp skills for more workflows.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.