Quickstart
3. Make Your First API Call

Make Your First API Call

With your M2M API key in hand, verify everything works.

Get the authenticated user / app identity

export PIP_API_KEY="pip_live_xxxxxxxx"
 
curl https://pip.pcampus.co/identity/me \
  -H "Authorization: Bearer $PIP_API_KEY"

Expected response

{
  "id": "usr_xxxxxxxxxxxx",
  "email": "you@example.com",
  "displayName": "Your Name",
  "organizationId": "org_xxxxxxxxxxxx",
  "createdAt": "2026-01-01T00:00:00.000Z"
}

If you see a JSON response with your user or application details, you're all set.

Troubleshooting

StatusCauseFix
401 UnauthorizedKey missing or malformedCheck Authorization: Bearer pip_… header
403 ForbiddenKey revoked or insufficient scopeRegenerate key in Console
404 Not FoundWrong endpoint pathCheck the API Reference

What's next?