Skip to main content

Base URL

https://api.goyappr.com

Authentication

All requests require an API key passed as a Bearer token:
Authorization: Bearer ypr_live_...
Generate keys in the Yappr dashboard under Settings → API Keys. Each key can be scoped to specific permissions.

API Key Scopes

ScopeDescription
agents:createCreate agents
agents:readList and get agents
agents:updateUpdate or deactivate agents
tools:createCreate tools
tools:readList and get tools
tools:updateAttach, detach, or modify tools
phone_numbers:searchSearch and list phone numbers
phone_numbers:purchasePurchase phone numbers
phone_numbers:configureAssign agents to phone numbers
billing:readView billing status
billing:manageSetup payment method and top up
calls:createPlace outbound calls
calls:readList and get call history

Rate Limiting

60 requests per minute per API key. Every response includes:
HeaderDescription
X-RateLimit-LimitRequests allowed per window
X-RateLimit-RemainingRequests remaining in window
X-RateLimit-ResetUnix timestamp when window resets

Error Codes

HTTP StatusCodeDescription
400Invalid request (missing or bad field)
401MISSING_KEYNo API key provided
401INVALID_KEYAPI key not found or revoked
401EXPIRED_KEYAPI key has expired
401INSUFFICIENT_SCOPEAPI key lacks required scope
402BILLING_ERRORInsufficient balance or no payment method
404Resource not found
429RATE_LIMITRate limit exceeded
500Internal server error

Discovery

GET https://api.goyappr.com (no path, no auth) returns a list of all available endpoints.