Skip to Content
CallHumanDocs
API reference

Get your project

GET
/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.

Authorization

apiKey
headerAuthorizationBearer <token>

Your API key, for example Authorization: Bearer ch_live_xxxxxxxxxxxx. Create keys in your dashboard under API keys.

Response Body

The project.

application/json
  1. response

The project the API key belongs to.

id*string

Project ID.

Formatuuid
name*string

Business 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*integer

Answered calls used in the current cycle.

calls_included*integer

Answered calls included in the current cycle (0 without an active plan).

can_call*boolean

True 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.

Value in"own""shared"null
Example Request
curl -X GET 'https://api.callhuman.es/v1/project'
Example Response
{  "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"}