MENU navbar-image
bash javascript php

Introduction

This documentation aims to provide all the information you need to work with our API.

Base URL

https://app.hipcall.com

Authenticating requests

Authenticate requests to this API's endpoints by sending an Authorization header with the value "Bearer {YOUR_AUTH_KEY}".

All authenticated endpoints are marked with a requires authentication badge in the documentation below.

You can retrieve your token by visiting your dashboard and clicking Generate API token.

Call

List all Calls

requires authentication

This endpoint let you list calls. You can use embed, sort, search and filter feature at this endpoint.

Direction enum

Call resource has a direction field with integer type.

key description
1 Inbound
2 Outbound
3 Internal

Channel type enum

Hipcall plans to add web widget for call directly from your website until that channel_type always return 1 ( number ) and channel_id means number's id.

key description
1 Number
2 Web widget (coming soon)

Caller type enum

key description
1 Contact
2 User

Callee type enum

key description
1 Contact
2 User
3 Greeting (IVR)
4 Team (Queue)
null Hangup

Missing call reason enum

key description
1 out_of_business_hours
3 abandoned
2 short_abandoned
4 callback

Important note on record_url

This URL will be expired in 60 minutes. It isn't a good idea to store this URL in your database.

Hangup by enum

Call resource has a hangup_by field with integer type.

key description
1 User
2 Contact
3 System

Important note on record_url

This URL will be expired in 60 minutes. It isn't a good idea to store this URL in your database.

Example request:
curl --request GET \
    --get "https://app.hipcall.com/api/v20211124/cdrs" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
const url = new URL(
    "https://app.hipcall.com/api/v20211124/cdrs"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://app.hipcall.com/api/v20211124/cdrs',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 30
x-ratelimit-remaining: 29
vary: Origin
 

{
    "data": [
        {
            "resource_type": "cdr",
            "uuid": "c3825c50-351e-42af-8d7c-95ee6e88c809",
            "direction": 2,
            "user_id": 2,
            "contact_id": 0,
            "channel_type": 1,
            "channel_id": 1,
            "started_at": "2022-06-29T10:20:40+0000",
            "answered_at": null,
            "bridged_at": null,
            "ended_at": "2022-06-29T10:25:43+0000",
            "call_duration": 303,
            "first_touch_duration": 0,
            "missing_call": false,
            "missing_call_reason": 0,
            "caller_id": 2,
            "caller_type": 2,
            "caller_number": "+908508850000",
            "callee_id": 1,
            "callee_type": 1,
            "callee_number": "1015",
            "record_url": null,
            "hangup_by": 1
        },
        {
            "resource_type": "cdr",
            "uuid": "719757f4-2ebf-43a2-a119-2031af05f4da",
            "direction": 2,
            "user_id": 1,
            "contact_id": 0,
            "channel_type": 1,
            "channel_id": 1,
            "started_at": "2022-06-29T10:20:40+0000",
            "answered_at": null,
            "bridged_at": null,
            "ended_at": "2022-06-29T10:24:19+0000",
            "call_duration": 219,
            "first_touch_duration": 0,
            "missing_call": false,
            "missing_call_reason": 0,
            "caller_id": 1,
            "caller_type": 2,
            "caller_number": "+908508850000",
            "callee_id": 1,
            "callee_type": 1,
            "callee_number": "1015",
            "record_url": null,
            "hangup_by": 1
        },
        {
            "resource_type": "cdr",
            "uuid": "645521f3-f737-4adf-a24b-335d2da4c203",
            "direction": 2,
            "user_id": 2,
            "contact_id": 0,
            "channel_type": 1,
            "channel_id": 1,
            "started_at": "2022-06-29T10:20:40+0000",
            "answered_at": null,
            "bridged_at": null,
            "ended_at": "2022-06-29T10:29:35+0000",
            "call_duration": 535,
            "first_touch_duration": 0,
            "missing_call": false,
            "missing_call_reason": 0,
            "caller_id": 2,
            "caller_type": 2,
            "caller_number": "+908508850000",
            "callee_id": 1,
            "callee_type": 1,
            "callee_number": "1015",
            "record_url": null,
            "hangup_by": 1
        },
        {
            "resource_type": "cdr",
            "uuid": "b28013cb-8c54-4f75-a7b0-3d5e6f9a1b0e",
            "direction": 2,
            "user_id": 1,
            "contact_id": 0,
            "channel_type": 1,
            "channel_id": 1,
            "started_at": "2022-06-29T10:20:40+0000",
            "answered_at": null,
            "bridged_at": null,
            "ended_at": "2022-06-29T10:26:35+0000",
            "call_duration": 355,
            "first_touch_duration": 0,
            "missing_call": false,
            "missing_call_reason": 0,
            "caller_id": 1,
            "caller_type": 2,
            "caller_number": "+908508850000",
            "callee_id": 1,
            "callee_type": 1,
            "callee_number": "1015",
            "record_url": null,
            "hangup_by": 1
        },
        {
            "resource_type": "cdr",
            "uuid": "1711cdcd-0a77-4cbc-802f-315e2cbe0e1d",
            "direction": 2,
            "user_id": 2,
            "contact_id": 0,
            "channel_type": 1,
            "channel_id": 1,
            "started_at": "2022-06-29T10:20:40+0000",
            "answered_at": null,
            "bridged_at": null,
            "ended_at": "2022-06-29T10:27:19+0000",
            "call_duration": 399,
            "first_touch_duration": 0,
            "missing_call": false,
            "missing_call_reason": 0,
            "caller_id": 2,
            "caller_type": 2,
            "caller_number": "+908508850000",
            "callee_id": 1,
            "callee_type": 1,
            "callee_number": "1015",
            "record_url": null,
            "hangup_by": 1
        },
        {
            "resource_type": "cdr",
            "uuid": "6f62212f-042c-49a4-abb2-edd26ae7135a",
            "direction": 2,
            "user_id": 1,
            "contact_id": 0,
            "channel_type": 1,
            "channel_id": 1,
            "started_at": "2022-06-29T10:20:40+0000",
            "answered_at": null,
            "bridged_at": null,
            "ended_at": "2022-06-29T10:24:02+0000",
            "call_duration": 202,
            "first_touch_duration": 0,
            "missing_call": false,
            "missing_call_reason": 0,
            "caller_id": 1,
            "caller_type": 2,
            "caller_number": "+908508850000",
            "callee_id": 1,
            "callee_type": 1,
            "callee_number": "1015",
            "record_url": null,
            "hangup_by": 1
        },
        {
            "resource_type": "cdr",
            "uuid": "aee207ed-5ec5-4bf0-a4bf-e178fa7c3542",
            "direction": 2,
            "user_id": 1,
            "contact_id": 0,
            "channel_type": 1,
            "channel_id": 1,
            "started_at": "2022-06-29T10:20:40+0000",
            "answered_at": null,
            "bridged_at": null,
            "ended_at": "2022-06-29T10:24:41+0000",
            "call_duration": 241,
            "first_touch_duration": 0,
            "missing_call": false,
            "missing_call_reason": 0,
            "caller_id": 1,
            "caller_type": 2,
            "caller_number": "+908508850000",
            "callee_id": 1,
            "callee_type": 1,
            "callee_number": "1015",
            "record_url": null,
            "hangup_by": 1
        },
        {
            "resource_type": "cdr",
            "uuid": "caedfd1b-25ec-447e-ad87-3b7eb3d358ea",
            "direction": 1,
            "user_id": 1,
            "contact_id": 0,
            "channel_type": 1,
            "channel_id": 1,
            "started_at": "2022-06-29T10:20:40+0000",
            "answered_at": null,
            "bridged_at": null,
            "ended_at": "2022-06-29T10:25:39+0000",
            "call_duration": 299,
            "first_touch_duration": 0,
            "missing_call": false,
            "missing_call_reason": 0,
            "caller_id": 1,
            "caller_type": 1,
            "caller_number": "+905326202911",
            "callee_id": 2,
            "callee_type": 3,
            "callee_number": "101",
            "record_url": "http://minio:9000/local/recordings/1/2022/07/01/8fe3b4bc-2db0-40c8-b394-4829b7c76038.mp3?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minio%2F20220702%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220702T075352Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=588fffe2049dd157142cbc28913aa57bbb17efac0e0f138fdc36cd9bb11e8b30",
            "hangup_by": 1
        },
        {
            "resource_type": "cdr",
            "uuid": "caf2b1b7-675f-4a4a-985a-4c52d3ed0d93",
            "direction": 3,
            "user_id": 1,
            "contact_id": 0,
            "channel_type": 1,
            "channel_id": 1,
            "started_at": "2022-06-29T10:20:40+0000",
            "answered_at": null,
            "bridged_at": null,
            "ended_at": "2022-06-29T10:21:20+0000",
            "call_duration": 40,
            "first_touch_duration": 0,
            "missing_call": false,
            "missing_call_reason": 0,
            "caller_id": 1,
            "caller_type": 2,
            "caller_number": "1001",
            "callee_id": 2,
            "callee_type": 2,
            "callee_number": "1002",
            "record_url": "http://minio:9000/local/recordings/1/2022/07/01/8fe3b4bc-2db0-40c8-b394-4829b7c76038.mp3?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minio%2F20220702%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220702T075352Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=588fffe2049dd157142cbc28913aa57bbb17efac0e0f138fdc36cd9bb11e8b30",
            "hangup_by": 1
        },
        {
            "resource_type": "cdr",
            "uuid": "096ad937-345c-4941-aa5b-85c38b4a1211",
            "direction": 1,
            "user_id": 2,
            "contact_id": 0,
            "channel_type": 1,
            "channel_id": 1,
            "started_at": "2022-06-29T10:20:40+0000",
            "answered_at": null,
            "bridged_at": null,
            "ended_at": "2022-06-29T10:26:50+0000",
            "call_duration": 370,
            "first_touch_duration": 0,
            "missing_call": false,
            "missing_call_reason": 0,
            "caller_id": 1,
            "caller_type": 1,
            "caller_number": "+905326202911",
            "callee_id": 2,
            "callee_type": 3,
            "callee_number": "101",
            "record_url": "http://minio:9000/local/recordings/1/2022/07/01/8fe3b4bc-2db0-40c8-b394-4829b7c76038.mp3?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minio%2F20220702%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220702T075352Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=588fffe2049dd157142cbc28913aa57bbb17efac0e0f138fdc36cd9bb11e8b30",
            "hangup_by": 1
        }
    ],
    "links": {
        "first": "https://app.hipcall.com/api/v20211124/cdrs?page=1",
        "last": null,
        "prev": null,
        "next": "https://app.hipcall.com/api/v20211124/cdrs?page=2"
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "path": "https://app.hipcall.com/api/v20211124/cdrs",
        "per_page": "10",
        "to": 10
    }
}
 

Request      

GET api/v20211124/cdrs

URL Parameters

yyyy  integer  

The year of the call.

mm  integer  

The month of the call.

dd  integer  

The day of the call.

id  string  

The UUID of the call.

Body Parameters

q  string optional  

optional Search at caller_number, callee_number. Example ?q=497788123123.

embed  string optional  

The title of the post. No-example.

sort  string optional  

optional Field to sort by. Defaults to 'started_at'. Sortable fields: started_at and call_duration. Example ?sort=started_at,-call_duration.

direction  string optional  

optional Filter by direction field. Supported params: 1, inbound, 2, outbound, 3, internal. Example ?direction=inbound,outbound.

users  string optional  

optional Filter by users field. Add users' ids. Example ?users=1 or ?users=1,4,5.

missing_call  string optional  

optional Filter by missing_call field. Supported param: true or false. Example ?missing_call=true.

missing_call_reason  string optional  

optional Filter by missing_call_reason field. Supported params: 1, out_of_business_hours, 2, short_abandoned, 3, abandoned, 4, callback. Example ?missing_call_reason=1,2 or ?missing_call_reason=callback.

Retrieve a Call

requires authentication

Use this endpoint to retrieve a Call data. You can use embed feature at this endpoint.

Example request:
curl --request GET \
    --get "https://app.hipcall.com/api/v20211124/cdrs/2021/11/25/caedfd1b-25ec-447e-ad87-3b7eb3d358ea" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
const url = new URL(
    "https://app.hipcall.com/api/v20211124/cdrs/2021/11/25/caedfd1b-25ec-447e-ad87-3b7eb3d358ea"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://app.hipcall.com/api/v20211124/cdrs/2021/11/25/caedfd1b-25ec-447e-ad87-3b7eb3d358ea',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 30
x-ratelimit-remaining: 28
vary: Origin
 

{
    "data": {
        "resource_type": "cdr",
        "uuid": "caedfd1b-25ec-447e-ad87-3b7eb3d358ea",
        "direction": 1,
        "user_id": 1,
        "contact_id": 0,
        "channel_type": 1,
        "channel_id": 1,
        "started_at": "2022-06-29T10:20:40+0000",
        "answered_at": null,
        "bridged_at": null,
        "ended_at": "2022-06-29T10:25:39+0000",
        "call_duration": 299,
        "first_touch_duration": 0,
        "missing_call": false,
        "missing_call_reason": 0,
        "caller_id": 1,
        "caller_type": 1,
        "caller_number": "+905326202911",
        "callee_id": 2,
        "callee_type": 3,
        "callee_number": "101",
        "record_url": "http://minio:9000/local/recordings/1/2022/07/01/8fe3b4bc-2db0-40c8-b394-4829b7c76038.mp3?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minio%2F20220702%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220702T075353Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=9c426fa3a3a7ad5719aa80c0e98e1b6b144a6734832715cdb9f1fe49c78acd6d",
        "hangup_by": 1
    }
}
 

Request      

GET api/v20211124/cdrs/{yyyy}/{mm}/{dd}/{uuid}

URL Parameters

yyyy  integer  

Cdr year.

mm  integer  

Cdr month.

dd  integer  

Cdr day.

uuid  string optional  

uuid required CDR's uuid.

Body Parameters

embed  string optional  

Extension

List all Extensions

requires authentication

This endpoint let you list extensions. You can use sort, search and filter feature at this endpoint.

Example request:
curl --request GET \
    --get "https://app.hipcall.com/api/v20211124/extensions" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
const url = new URL(
    "https://app.hipcall.com/api/v20211124/extensions"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://app.hipcall.com/api/v20211124/extensions',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 30
x-ratelimit-remaining: 25
vary: Origin
 

{
    "data": [
        {
            "resource_type": "extension",
            "id": 1,
            "number": "1001",
            "target_id": 1,
            "target_type": "user",
            "created_at": "2022-06-29T10:20:40+0000",
            "updated_at": "2022-06-29T10:20:40+0000"
        },
        {
            "resource_type": "extension",
            "id": 2,
            "number": "1002",
            "target_id": 2,
            "target_type": "user",
            "created_at": "2022-06-29T10:20:40+0000",
            "updated_at": "2022-06-29T10:20:40+0000"
        },
        {
            "resource_type": "extension",
            "id": 4,
            "number": "101",
            "target_id": 1,
            "target_type": "greeting",
            "created_at": "2022-06-29T10:20:40+0000",
            "updated_at": "2022-06-29T10:20:40+0000"
        },
        {
            "resource_type": "extension",
            "id": 5,
            "number": "102",
            "target_id": 2,
            "target_type": "greeting",
            "created_at": "2022-06-29T10:20:40+0000",
            "updated_at": "2022-06-29T10:20:40+0000"
        },
        {
            "resource_type": "extension",
            "id": 3,
            "number": "300",
            "target_id": 1,
            "target_type": "team",
            "created_at": "2022-06-29T10:20:40+0000",
            "updated_at": "2022-06-29T10:20:40+0000"
        },
        {
            "resource_type": "extension",
            "id": 11,
            "number": "333",
            "target_id": 5,
            "target_type": "greeting",
            "created_at": "2022-07-01T14:02:30+0000",
            "updated_at": "2022-07-01T14:02:30+0000"
        },
        {
            "resource_type": "extension",
            "id": 12,
            "number": "444",
            "target_id": 6,
            "target_type": "greeting",
            "created_at": "2022-07-01T14:03:15+0000",
            "updated_at": "2022-07-01T14:03:15+0000"
        },
        {
            "resource_type": "extension",
            "id": 13,
            "number": "666",
            "target_id": 7,
            "target_type": "greeting",
            "created_at": "2022-07-01T14:04:04+0000",
            "updated_at": "2022-07-01T14:04:04+0000"
        }
    ],
    "links": {
        "first": "https://app.hipcall.com/api/v20211124/extensions?page=1",
        "last": "https://app.hipcall.com/api/v20211124/extensions?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "« Previous",
                "active": false
            },
            {
                "url": "https://app.hipcall.com/api/v20211124/extensions?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next »",
                "active": false
            }
        ],
        "path": "https://app.hipcall.com/api/v20211124/extensions",
        "per_page": 10,
        "to": 8,
        "total": 8
    }
}
 

Request      

GET api/v20211124/extensions

Body Parameters

q  string optional  

optional Search at number. Example ?q=497788123123.

sort  string optional  

optional Field to sort by. Defaults to 'created_at'. Sortable fields: number, created_at and target_type. Example ?sort=target_type,number.

target  string optional  

optional Filter by target field. Supported params: user, team, greeting. Example ?target=inbound,team.

Retrieve an Extension

requires authentication

Use this endpoint to retrieve an Extension data.

Example request:
curl --request GET \
    --get "https://app.hipcall.com/api/v20211124/extensions/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://app.hipcall.com/api/v20211124/extensions/1"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://app.hipcall.com/api/v20211124/extensions/1',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 30
x-ratelimit-remaining: 24
vary: Origin
 

{
    "data": {
        "resource_type": "extension",
        "id": 1,
        "number": "1001",
        "target_id": 1,
        "target_type": "user",
        "created_at": "2022-06-29T10:20:40+0000",
        "updated_at": "2022-06-29T10:20:40+0000"
    }
}
 

Request      

GET api/v20211124/extensions/{id}

URL Parameters

id  integer  

The ID of the Extension.

Greeting

List all Greetings (IVRs)

requires authentication

This endpoint let you list greetings.

Example request:
curl --request GET \
    --get "https://app.hipcall.com/api/v20211124/greetings" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://app.hipcall.com/api/v20211124/greetings"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://app.hipcall.com/api/v20211124/greetings',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 30
x-ratelimit-remaining: 23
vary: Origin
 

{
    "data": [
        {
            "resource_type": "greeting",
            "id": 1,
            "name": "Out of business hours",
            "direct_dial_extension": false,
            "timeout": 0,
            "max_input_try_count": 0,
            "state": "active"
        },
        {
            "resource_type": "greeting",
            "id": 2,
            "name": "Welcome to Microsoft",
            "direct_dial_extension": true,
            "timeout": 0,
            "max_input_try_count": 3,
            "state": "active"
        },
        {
            "resource_type": "greeting",
            "id": 5,
            "name": "333",
            "direct_dial_extension": true,
            "timeout": 0,
            "max_input_try_count": 0,
            "state": "active"
        },
        {
            "resource_type": "greeting",
            "id": 6,
            "name": "444",
            "direct_dial_extension": true,
            "timeout": 0,
            "max_input_try_count": 0,
            "state": "active"
        },
        {
            "resource_type": "greeting",
            "id": 7,
            "name": "666",
            "direct_dial_extension": true,
            "timeout": 0,
            "max_input_try_count": 0,
            "state": "active"
        }
    ],
    "links": {
        "first": "https://app.hipcall.com/api/v20211124/greetings?page=1",
        "last": "https://app.hipcall.com/api/v20211124/greetings?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "« Previous",
                "active": false
            },
            {
                "url": "https://app.hipcall.com/api/v20211124/greetings?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next »",
                "active": false
            }
        ],
        "path": "https://app.hipcall.com/api/v20211124/greetings",
        "per_page": 10,
        "to": 5,
        "total": 5
    }
}
 

Request      

GET api/v20211124/greetings

Retrieve a Greeting (IVR)

requires authentication

Use this endpoint to retrieve a Greeting (IVR) data.

Example request:
curl --request GET \
    --get "https://app.hipcall.com/api/v20211124/greetings/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://app.hipcall.com/api/v20211124/greetings/1"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://app.hipcall.com/api/v20211124/greetings/1',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 30
x-ratelimit-remaining: 22
vary: Origin
 

{
    "data": {
        "resource_type": "greeting",
        "id": 1,
        "name": "Out of business hours",
        "direct_dial_extension": false,
        "timeout": 0,
        "max_input_try_count": 0,
        "state": "active"
    }
}
 

Request      

GET api/v20211124/greetings/{id}

URL Parameters

id  integer  

The ID of the Greeting (IVR).

Number

List all Numbers

requires authentication

This endpoint let you list numbers.

Example request:
curl --request GET \
    --get "https://app.hipcall.com/api/v20211124/numbers" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://app.hipcall.com/api/v20211124/numbers"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://app.hipcall.com/api/v20211124/numbers',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 30
x-ratelimit-remaining: 21
vary: Origin
 

{
    "data": [
        {
            "resource_type": "number",
            "id": 1,
            "name": "Turkey Support Number",
            "number": "+908503902777"
        }
    ],
    "links": {
        "first": "https://app.hipcall.com/api/v20211124/numbers?page=1",
        "last": "https://app.hipcall.com/api/v20211124/numbers?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "« Previous",
                "active": false
            },
            {
                "url": "https://app.hipcall.com/api/v20211124/numbers?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next »",
                "active": false
            }
        ],
        "path": "https://app.hipcall.com/api/v20211124/numbers",
        "per_page": 10,
        "to": 1,
        "total": 1
    }
}
 

Request      

GET api/v20211124/numbers

Retrieve a Number

requires authentication

Use this endpoint to retrieve a Number data.

Example request:
curl --request GET \
    --get "https://app.hipcall.com/api/v20211124/numbers/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://app.hipcall.com/api/v20211124/numbers/1"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://app.hipcall.com/api/v20211124/numbers/1',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 30
x-ratelimit-remaining: 20
vary: Origin
 

{
    "data": {
        "resource_type": "number",
        "id": 1,
        "name": "Turkey Support Number",
        "number": "+908503902777"
    }
}
 

Request      

GET api/v20211124/numbers/{id}

URL Parameters

id  integer  

The ID of the Number.

Task

List all Tasks

requires authentication

This endpoint let you list tasks. You can use sort and filter feature at this endpoint.

Example request:
curl --request GET \
    --get "https://app.hipcall.com/api/v20211124/tasks" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
const url = new URL(
    "https://app.hipcall.com/api/v20211124/tasks"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://app.hipcall.com/api/v20211124/tasks',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 30
x-ratelimit-remaining: 17
vary: Origin
 

{
    "data": [
        {
            "resource_type": "task",
            "id": 1,
            "name": "Sunt repudiandae eos assumenda quis dolor.",
            "description": "Quasi voluptate ut veritatis vitae similique illo. Reprehenderit quam similique impedit vel pariatur qui.",
            "due_date": null,
            "done": false,
            "done_at": null,
            "assign_to": null,
            "priority": "low",
            "task_list_id": null,
            "created_at": "2022-06-29T10:20:40+0000",
            "updated_at": "2022-06-29T10:20:40+0000"
        },
        {
            "resource_type": "task",
            "id": 2,
            "name": "Consectetur natus consequatur fugit.",
            "description": "Beatae ut iure voluptatibus sunt animi. Itaque omnis et ex libero. Est error odit explicabo consequatur voluptatum.",
            "due_date": "2022-06-28T08:55:00+0000",
            "done": false,
            "done_at": null,
            "assign_to": null,
            "priority": "",
            "task_list_id": null,
            "created_at": "2022-06-29T10:20:40+0000",
            "updated_at": "2022-06-29T10:20:40+0000"
        },
        {
            "resource_type": "task",
            "id": 3,
            "name": "Ut reiciendis maxime eum reprehenderit.",
            "description": "Sunt tempore quae vel dolore et blanditiis necessitatibus. Dicta ut ipsa quae possimus excepturi. Ex nisi quasi eum aut qui aut sit.",
            "due_date": "2022-07-12T08:13:27+0000",
            "done": false,
            "done_at": null,
            "assign_to": null,
            "priority": "low",
            "task_list_id": null,
            "created_at": "2022-06-29T10:20:40+0000",
            "updated_at": "2022-06-29T10:20:40+0000"
        },
        {
            "resource_type": "task",
            "id": 4,
            "name": "Ratione ab ut quasi laborum.",
            "description": "Ab aut sint nemo. Quo aut ducimus ipsa laborum maxime est tempora. Sit est et qui eveniet et. Nobis et qui omnis cupiditate aut aperiam.",
            "due_date": "2022-07-04T01:02:52+0000",
            "done": false,
            "done_at": null,
            "assign_to": null,
            "priority": "high",
            "task_list_id": null,
            "created_at": "2022-06-29T10:20:40+0000",
            "updated_at": "2022-06-29T10:20:40+0000"
        },
        {
            "resource_type": "task",
            "id": 5,
            "name": "Qui facilis temporibus a eius in.",
            "description": "Architecto voluptas sit beatae. Veritatis dolorem cumque aut explicabo dolorum. Quidem deserunt soluta dolorum qui temporibus.",
            "due_date": null,
            "done": false,
            "done_at": null,
            "assign_to": null,
            "priority": "high",
            "task_list_id": null,
            "created_at": "2022-06-29T10:20:40+0000",
            "updated_at": "2022-06-29T10:20:40+0000"
        },
        {
            "resource_type": "task",
            "id": 6,
            "name": "Repellat et cupiditate aut eum neque.",
            "description": "Expedita quia earum dolores quasi error distinctio molestiae. Ipsam non et eos.",
            "due_date": "2022-07-10T10:38:41+0000",
            "done": false,
            "done_at": null,
            "assign_to": null,
            "priority": "medium",
            "task_list_id": null,
            "created_at": "2022-06-29T10:20:40+0000",
            "updated_at": "2022-06-29T10:20:40+0000"
        },
        {
            "resource_type": "task",
            "id": 7,
            "name": "Non ut explicabo unde vitae autem.",
            "description": "Asperiores distinctio quae illum officia. Dolores et non qui maxime. Labore magni voluptas eos eos quis.",
            "due_date": "2022-06-16T13:56:07+0000",
            "done": false,
            "done_at": null,
            "assign_to": null,
            "priority": "low",
            "task_list_id": null,
            "created_at": "2022-06-29T10:20:40+0000",
            "updated_at": "2022-06-29T10:20:40+0000"
        },
        {
            "resource_type": "task",
            "id": 8,
            "name": "Recusandae qui deleniti eum.",
            "description": "Sed perferendis natus accusantium eligendi. Est et modi ducimus eum. Quas eos aliquam libero molestias labore occaecati.",
            "due_date": null,
            "done": false,
            "done_at": null,
            "assign_to": null,
            "priority": "medium",
            "task_list_id": null,
            "created_at": "2022-06-29T10:20:40+0000",
            "updated_at": "2022-06-29T10:20:40+0000"
        },
        {
            "resource_type": "task",
            "id": 9,
            "name": "Vel excepturi occaecati quas et dolorem.",
            "description": "Quisquam veniam temporibus eligendi id. Consequatur perspiciatis aut corrupti veniam esse omnis. Eos et id laborum numquam libero nulla commodi.",
            "due_date": null,
            "done": false,
            "done_at": null,
            "assign_to": null,
            "priority": "high",
            "task_list_id": null,
            "created_at": "2022-06-29T10:20:40+0000",
            "updated_at": "2022-06-29T10:20:40+0000"
        },
        {
            "resource_type": "task",
            "id": 10,
            "name": "Consectetur ullam fugit nihil dolor alias.",
            "description": "Voluptatem et corporis veritatis est. Vitae iste veritatis ratione est inventore.",
            "due_date": "2022-06-27T15:16:25+0000",
            "done": true,
            "done_at": "1995-08-09T21:46:30+0000",
            "assign_to": null,
            "priority": "high",
            "task_list_id": null,
            "created_at": "2022-06-29T10:20:40+0000",
            "updated_at": "2022-06-29T10:20:40+0000"
        }
    ],
    "links": {
        "first": "https://app.hipcall.com/api/v20211124/tasks?page=1",
        "last": "https://app.hipcall.com/api/v20211124/tasks?page=2",
        "prev": null,
        "next": "https://app.hipcall.com/api/v20211124/tasks?page=2"
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 2,
        "links": [
            {
                "url": null,
                "label": "« Previous",
                "active": false
            },
            {
                "url": "https://app.hipcall.com/api/v20211124/tasks?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": "https://app.hipcall.com/api/v20211124/tasks?page=2",
                "label": "2",
                "active": false
            },
            {
                "url": "https://app.hipcall.com/api/v20211124/tasks?page=2",
                "label": "Next »",
                "active": false
            }
        ],
        "path": "https://app.hipcall.com/api/v20211124/tasks",
        "per_page": 10,
        "to": 10,
        "total": 11
    }
}
 

Request      

GET api/v20211124/tasks

Body Parameters

q  string optional  

priority  string optional  

optional Filter by priority field. Supported params: low, medium, high. Example ?priority=high,medium.

assign_to  string optional  

optional Filter by assign_to field. Add users' ids. Example ?assign_to=1 or ?assign_to=1,4,5.

embed  string optional  

optional Embed resource to response. Embeddable resources: assign_to. Example ?embed=assign_to.

sort  string optional  

optional Field to sort by. Defaults to 'due_date'. Sortable fields: due_date. Example ?sort=due_date.

Retrieve a Task

requires authentication

Use this endpoint to retrieve a Task data.

Example request:
curl --request GET \
    --get "https://app.hipcall.com/api/v20211124/tasks/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://app.hipcall.com/api/v20211124/tasks/1"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://app.hipcall.com/api/v20211124/tasks/1',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 30
x-ratelimit-remaining: 16
vary: Origin
 

{
    "data": {
        "resource_type": "task",
        "id": 1,
        "name": "Sunt repudiandae eos assumenda quis dolor.",
        "description": "Quasi voluptate ut veritatis vitae similique illo. Reprehenderit quam similique impedit vel pariatur qui.",
        "due_date": null,
        "done": false,
        "done_at": null,
        "assign_to": null,
        "priority": "low",
        "task_list_id": null,
        "created_at": "2022-06-29T10:20:40+0000",
        "updated_at": "2022-06-29T10:20:40+0000"
    }
}
 

Request      

GET api/v20211124/tasks/{id}

URL Parameters

id  integer  

The ID of the Task.

Create a Task

requires authentication

Use this endpoint to create a Task data.

Example request:
curl --request POST \
    "https://app.hipcall.com/api/v20211124/tasks" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"name\": \"Sent an email to client\",
    \"description\": \"sunt\",
    \"due_date\": \"20220612 12:12:12\",
    \"assign_to\": 1,
    \"priority\": \"low\",
    \"task_list\": 7
}"
const url = new URL(
    "https://app.hipcall.com/api/v20211124/tasks"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "name": "Sent an email to client",
    "description": "sunt",
    "due_date": "20220612 12:12:12",
    "assign_to": 1,
    "priority": "low",
    "task_list": 7
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://app.hipcall.com/api/v20211124/tasks',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'name' => 'Sent an email to client',
            'description' => 'sunt',
            'due_date' => '20220612 12:12:12',
            'assign_to' => 1,
            'priority' => 'low',
            'task_list' => 7,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Request      

POST api/v20211124/tasks

Body Parameters

name  string  

The name of the Task. min:2|max:255.

description  string optional  

The desciption of the Task. min:2|max:255 .

due_date  string optional  

The due date of the task. min:2.

assign_to  integer optional  

The user ID.

priority  string optional  

The priority of the task. Can be low, medium or high.

task_list  integer optional  

The ID of the Task list.

Team

List all Teams

requires authentication

This endpoint let you list teams. You can use search and filter feature at this endpoint.

Example request:
curl --request GET \
    --get "https://app.hipcall.com/api/v20211124/teams" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
const url = new URL(
    "https://app.hipcall.com/api/v20211124/teams"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://app.hipcall.com/api/v20211124/teams',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 30
x-ratelimit-remaining: 19
vary: Origin
 

{
    "data": [
        {
            "resource_type": "team",
            "id": 1,
            "name": "Microsoft Team",
            "user_case": "all",
            "wrap_up_time": 15,
            "strategy": "random",
            "say_line_number": true,
            "say_line_number_in_second": 120,
            "callback": false,
            "callback_dtmf": 0,
            "callback_action": "none",
            "state": "active"
        }
    ],
    "links": {
        "first": "https://app.hipcall.com/api/v20211124/teams?page=1",
        "last": "https://app.hipcall.com/api/v20211124/teams?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
            {
                "url": null,
                "label": "« Previous",
                "active": false
            },
            {
                "url": "https://app.hipcall.com/api/v20211124/teams?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": null,
                "label": "Next »",
                "active": false
            }
        ],
        "path": "https://app.hipcall.com/api/v20211124/teams",
        "per_page": 10,
        "to": 1,
        "total": 1
    }
}
 

Request      

GET api/v20211124/teams

Body Parameters

q  string optional  

optional Search at name. Example ?q=Sales.

status  string optional  

optional Filter by status field. Supported params: 1, active, 0, passive. Example ?status=active.

Retrieve a Team

requires authentication

Use this endpoint to retrieve a Team data.

Example request:
curl --request GET \
    --get "https://app.hipcall.com/api/v20211124/teams/1" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://app.hipcall.com/api/v20211124/teams/1"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://app.hipcall.com/api/v20211124/teams/1',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 30
x-ratelimit-remaining: 18
vary: Origin
 

{
    "data": {
        "resource_type": "team",
        "id": 1,
        "name": "Microsoft Team",
        "user_case": "all",
        "wrap_up_time": 15,
        "strategy": "random",
        "say_line_number": true,
        "say_line_number_in_second": 120,
        "callback": false,
        "callback_dtmf": 0,
        "callback_action": "none",
        "state": "active"
    }
}
 

Request      

GET api/v20211124/teams/{id}

URL Parameters

id  integer  

The ID of the Team.

User

List all Users

requires authentication

This endpoint let you list users. You can use search and filter feature at this endpoint.

Example request:
curl --request GET \
    --get "https://app.hipcall.com/api/v20211124/users" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
const url = new URL(
    "https://app.hipcall.com/api/v20211124/users"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://app.hipcall.com/api/v20211124/users',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 30
x-ratelimit-remaining: 27
vary: Origin
 

{
    "data": [
        {
            "resource_type": "user",
            "id": 2,
            "email": "satya@microsoft.com",
            "name": "Satya Nadella",
            "full_name": "Satya Nadella",
            "title": "",
            "owner": false,
            "locale": "en",
            "status": "active",
            "default_number_id": 1,
            "default_extension_id": 2,
            "2fa": false,
            "last_logged_in": "2022-06-29T16:20:21+0000",
            "created_at": "2022-06-29T10:20:40+0000",
            "updated_at": "2022-06-29T16:20:21+0000"
        },
        {
            "resource_type": "user",
            "id": 3,
            "email": "adeline.moore@example.org",
            "name": "Asia West",
            "full_name": "Asia West",
            "title": "Railroad Conductors",
            "owner": false,
            "locale": "en",
            "status": "active",
            "default_number_id": null,
            "default_extension_id": null,
            "2fa": false,
            "last_logged_in": "1973-04-18T02:52:04+0000",
            "created_at": "2022-06-29T10:20:43+0000",
            "updated_at": "2022-06-29T10:20:43+0000"
        },
        {
            "resource_type": "user",
            "id": 4,
            "email": "anabel.mraz@example.com",
            "name": "Muriel Toy",
            "full_name": "Muriel Toy",
            "title": "Photographic Reproduction Technician",
            "owner": false,
            "locale": "en",
            "status": "active",
            "default_number_id": null,
            "default_extension_id": null,
            "2fa": false,
            "last_logged_in": "2002-09-07T14:04:00+0000",
            "created_at": "2022-06-29T10:20:43+0000",
            "updated_at": "2022-06-29T10:20:43+0000"
        },
        {
            "resource_type": "user",
            "id": 5,
            "email": "eokeefe@example.com",
            "name": "Yasmin Jacobs",
            "full_name": "Yasmin Jacobs",
            "title": "Bus Driver",
            "owner": false,
            "locale": "en",
            "status": "active",
            "default_number_id": null,
            "default_extension_id": null,
            "2fa": false,
            "last_logged_in": "2001-07-25T19:47:00+0000",
            "created_at": "2022-06-29T10:20:43+0000",
            "updated_at": "2022-06-29T10:20:43+0000"
        },
        {
            "resource_type": "user",
            "id": 6,
            "email": "johann.daniel@example.org",
            "name": "Flavie Gibson",
            "full_name": "Flavie Gibson",
            "title": "Screen Printing Machine Operator",
            "owner": false,
            "locale": "en",
            "status": "active",
            "default_number_id": null,
            "default_extension_id": null,
            "2fa": false,
            "last_logged_in": null,
            "created_at": "2022-06-29T10:20:43+0000",
            "updated_at": "2022-06-29T10:20:43+0000"
        },
        {
            "resource_type": "user",
            "id": 7,
            "email": "mozell13@example.org",
            "name": "Elyssa Hill",
            "full_name": "Elyssa Hill",
            "title": "Naval Architects",
            "owner": false,
            "locale": "en",
            "status": "active",
            "default_number_id": null,
            "default_extension_id": null,
            "2fa": false,
            "last_logged_in": "1977-06-02T11:47:00+0000",
            "created_at": "2022-06-29T10:20:43+0000",
            "updated_at": "2022-06-29T10:20:43+0000"
        },
        {
            "resource_type": "user",
            "id": 8,
            "email": "brando.hackett@example.net",
            "name": "Claudine Reichert",
            "full_name": "Claudine Reichert",
            "title": "Reservation Agent OR Transportation Ticket Agent",
            "owner": false,
            "locale": "en",
            "status": "active",
            "default_number_id": null,
            "default_extension_id": null,
            "2fa": false,
            "last_logged_in": null,
            "created_at": "2022-06-29T10:20:43+0000",
            "updated_at": "2022-06-29T10:20:43+0000"
        },
        {
            "resource_type": "user",
            "id": 9,
            "email": "mconroy@example.com",
            "name": "Nikki Gleason",
            "full_name": "Nikki Gleason",
            "title": "Aircraft Launch Specialist",
            "owner": false,
            "locale": "en",
            "status": "active",
            "default_number_id": null,
            "default_extension_id": null,
            "2fa": false,
            "last_logged_in": null,
            "created_at": "2022-06-29T10:20:43+0000",
            "updated_at": "2022-06-29T10:20:43+0000"
        },
        {
            "resource_type": "user",
            "id": 10,
            "email": "ayana71@example.net",
            "name": "Ruth Von",
            "full_name": "Ruth Von",
            "title": "Night Security Guard",
            "owner": false,
            "locale": "en",
            "status": "active",
            "default_number_id": null,
            "default_extension_id": null,
            "2fa": false,
            "last_logged_in": "1997-01-31T05:58:23+0000",
            "created_at": "2022-06-29T10:20:43+0000",
            "updated_at": "2022-06-29T10:20:43+0000"
        },
        {
            "resource_type": "user",
            "id": 11,
            "email": "rutherford.flo@example.net",
            "name": "Walker Friesen",
            "full_name": "Walker Friesen",
            "title": "Motorcycle Mechanic",
            "owner": false,
            "locale": "en",
            "status": "active",
            "default_number_id": null,
            "default_extension_id": null,
            "2fa": false,
            "last_logged_in": "2003-08-03T19:00:02+0000",
            "created_at": "2022-06-29T10:20:43+0000",
            "updated_at": "2022-06-29T10:20:43+0000"
        }
    ],
    "links": {
        "first": "https://app.hipcall.com/api/v20211124/users?page=1",
        "last": "https://app.hipcall.com/api/v20211124/users?page=3",
        "prev": null,
        "next": "https://app.hipcall.com/api/v20211124/users?page=2"
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 3,
        "links": [
            {
                "url": null,
                "label": "« Previous",
                "active": false
            },
            {
                "url": "https://app.hipcall.com/api/v20211124/users?page=1",
                "label": "1",
                "active": true
            },
            {
                "url": "https://app.hipcall.com/api/v20211124/users?page=2",
                "label": "2",
                "active": false
            },
            {
                "url": "https://app.hipcall.com/api/v20211124/users?page=3",
                "label": "3",
                "active": false
            },
            {
                "url": "https://app.hipcall.com/api/v20211124/users?page=2",
                "label": "Next »",
                "active": false
            }
        ],
        "path": "https://app.hipcall.com/api/v20211124/users",
        "per_page": 10,
        "to": 10,
        "total": 28
    }
}
 

Request      

GET api/v20211124/users

Body Parameters

q  string optional  

optional Search at first_name, last_name and email. Example ?q=Bill.

status  string optional  

optional Filter by status field. Supported params: 1, active, 0, passive. Example ?status=active.

Retrieve a User

requires authentication

Use this endpoint to retrieve a User data.

Example request:
curl --request GET \
    --get "https://app.hipcall.com/api/v20211124/users/2" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://app.hipcall.com/api/v20211124/users/2"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://app.hipcall.com/api/v20211124/users/2',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 30
x-ratelimit-remaining: 26
vary: Origin
 

{
    "data": {
        "resource_type": "user",
        "id": 2,
        "email": "satya@microsoft.com",
        "name": "Satya Nadella",
        "title": "",
        "owner": false,
        "locale": "en",
        "default_number_id": 1,
        "default_extension_id": 2,
        "2fa": false,
        "last_logged_in": "2022-06-29T16:20:21+0000",
        "created_at": "2022-06-29T10:20:40+0000",
        "updated_at": "2022-06-29T16:20:21+0000"
    }
}
 

Request      

GET api/v20211124/users/{id}

URL Parameters

id  integer  

The ID of the User.