Get your project
Returns the project of the API key: its phone number and how many calls are left. Use it to check an API key without placing a call.
apiKeyAuthorizationBearer <token>Your API key, for example Authorization: Bearer ch_live_xxxxxxxxxxxx. Create keys in your dashboard under API keys.
The project.
application/json- response
The project the API key belongs to.
id*stringProject ID.
uuidname*stringBusiness name people hear when they call your number back.
phone_number*|The number calls come from right now (E.164): your own, or CallHuman's shared number (entry plan, or while your own is being verified). Null if the project has to pick its own number first.
plan*|Active plan, or null without an active plan.
calls_used*integerAnswered calls used in the current cycle.
calls_included*integerAnswered calls included in the current cycle (0 without an active plan).
can_call*booleanTrue when POST /calls can place calls now: active plan, a phone number, and not paused.
phone_number_type*|own when calls come from your own number, shared when from CallHuman's shared number, null if no number yet.
"own""shared"nullcurl -X GET 'https://api.callhuman.es/v1/project'{ "id": "068c1860-893c-47f8-aede-51a44076c2aa", "name": "La Plaza", "phone_number": "+34910781165", "plan": "Pro", "calls_used": 42, "calls_included": 500, "can_call": true, "phone_number_type": "own"}