# How to use API to get the records from the CrossChex Cloud?

**URL:** <https://community.anviz.com/t/how-to-use-api-to-get-the-records-from-the-crosschex-cloud/726>\
**Category:** Integration\
**Tags:** crosschex-cloud\
**Created:** [November 21, 2022, 1:42am UTC](https://community.anviz.com/t/how-to-use-api-to-get-the-records-from-the-crosschex-cloud/726 "2022-11-21T01:42:15Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Felix\_Anviz](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@Felix\_Anviz](https://community.anviz.com/u/Felix_Anviz)\
**Post date:** [November 21, 2022, 1:42am UTC](https://community.anviz.com/t/how-to-use-api-to-get-the-records-from-the-crosschex-cloud/726/1 "2022-11-21T01:42:15Z")

</div>

Inorder to get the employee’s records from the CrossChex Cloud. Anviz not only provide the webhooks function to push the time attendance data to your server, ([CrossChex Cloud Webhooks](https://community.anviz.com/t/how-to-synchronize-the-time-attendance-data-to-the-third-party-systems/491)) now we provide the API to get the records from the CrossChex Cloud Server.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/anviz/original/1X/25a3641667aefc38827b7ae4f03589674e49eca2.png)

**The CrossChex Cloud API URL** : [https://api.ap.crosschexcloud.com/](https://api.ap.crosschexcloud.com/)

**Get Token Request:**

| **Name** | **Value** | **Type** | **Necessary** | **Description** |
| --- | --- | --- | --- | --- |
| header[nameSpace] | authorize.token | Text | Yes | Fixed Value |
| header[nameAction] | token | Text | Yes | Fixed Value |
| header[version] | 1.0 | Text | Yes | Fixed Value |
| header[requestId] | f1becc28-ad01-b5b2-7cef-392eb1526f39 | Text | Yes | Request ID (Unique) |
| header[timestamp] | 2022-10-21T07:39:07+00:00 | Text | Yes | Timestamp |
| payload[api\_key] | Follow with CrossChex Cloud Account | Text | Yes | Api Key |
| payload[api\_secret] | Follow with CrossChex Cloud Account | Text | Yes | Api Secret |

**Respond Parameter Instruction** ：(200) Success

| **Name** | **Value** | **Type** | **Description** |
| --- | --- | --- | --- |
| code | 200 | Number | Success. |
| data | | Object | Repond Data |
| data.payload | | Object | |
| data.payload.token | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjb21wYW55X2NvZGUiOiIxMTAwMDA4MzEiLCJob29rc19vbiI6MCwidXJsIjoiIiwic2VjcmV0IjoiIiwiY3JlYXRlX3RpbWUiOiIyMDIyLTEwLTE4IDA3OjQwOjE4IiwidXBkYXRlX3RpbWUiOiIiLCJhcGlfa2V5IjoiYTQ4ZjRkNGFiNWM2ZDAwMjk2NDMxZTRhZGRmZWMzNzUiLCJhcGlfc2VjcmV0IjoiNmViMmE0N2EyMmU2MDYyN2QzZjE0OGI0NDEzOGVlZGEiLCJleHAiOjE2NjY1OTcxNDd9.4jelxAUXaxjcxisIxAUkw3Bp9ljhQBFLw9O\_6BgH6kw | String | Authentication Token |
| data.payload.expires | 2022-10-24T07:39:07+00:00 | String | Expiration Time |
| data.header | | Object | |
| data.header.nameSpace | authorize.token | String | |
| data.header.nameAction | token | String | |
| data.header.version | 1.0 | String | |
| data.header.requestId | | Object | |
| data.header.timestamp | | Object | |
| description | | Object | |
| error | {} | Object | Respond Error |

**POST Get Record**

| **Name** | **Value** | **Type** | **Necessary** | **Description** |
| --- | --- | --- | --- | --- |
| header[nameSpace] | attendance.record | Text | Yes | Fixed Value |
| header[nameAction] | getrecord | Text | Yes | Fixed Value |
| header[version] | 1.0 | Text | Yes | Fixed Value |
| header[requestId] | f1becc28-ad01-b5b3-7cef-392eb1526f39 | Text | Yes | Request ID (Unique) |
| header[timestamp] | 2022-10-23T07:39:07+00:00 | Text | Yes | Timestamp |
| authorize[type] | token | Text | Yes | Fixed Value |
| authorize[token] | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjb21wYW55X2NvZGUiOiIxMTAwMDA4MzEiLCJob29rc19vbiI6MCwidXJsIjoiIiwic2VjcmV0IjoiIiwiY3JlYXRlX3RpbWUiOiIyMDIyLTEwLTE4IDA3OjQwOjE4IiwidXBkYXRlX3RpbWUiOiIiLCJhcGlfa2V5IjoiYTQ4ZjRkNGFiNWM2ZDAwMjk2NDMxZTRhZGRmZWMzNzUiLCJhcGlfc2VjcmV0IjoiNmViMmE0N2EyMmU2MDYyN2QzZjE0OGI0NDEzOGVlZGEiLCJleHAiOjE2NjY1OTcxNDd9.4jelxAUXaxjcxisIxAUkw3Bp9ljhQBFLw9O\_6BgH6kw | Text | Yes | get token respond value |
| payload[begin\_time] | 2022-06-01T12:46:43+00:00 | Text | Yes | Get Record Start time |
| payload[end\_time] | 2022-10-24T12:46:43+00:00 | Text | Yes | Get Record End time |
| payload[workno] | 1 | Text | No | Employee ID |
| payload[order] | asc | Text | No | Sequence，Default is asc，from from small to large |
| payload[page] | 1 | Text | Yes | Paging data from 1st page |
| payload[per\_page] | 1 | Text | Yes | Max with 1000 records each page |

**Respond Parameter Instruction** **：(200)Success**

| **Name** | **Value** | **Type** | **Description** |
| --- | --- | --- | --- |
| code | 200 | Number | Success |
| data | | Object | Repond Data |
| data.payload | | Object | |
| data.payload.count | 148 | Number | Total of reocrds |
| data.payload.list | | Object | |
| data.payload.list.checktype | 128 | Number | |
| data.payload.list.checktime | 2022-07-20T20:15:05+00:00 | String | |
| data.payload.list.device | | Object | |
| data.payload.list.device.serial\_number | 1750120622290025 | String | |
| data.payload.list.device.name | FaceDeep3-IRT10 | String | |
| data.payload.list.employee | | Object | |
| data.payload.list.employee.first\_name | 1 | String | |
| data.payload.list.employee.last\_name | 1 | String | |
| data.payload.list.employee.workno | 1 | String | |
| data.payload.page | 1 | Number | Page Number |
| data.payload.perPage | 1 | Number | Count of Records with each page |
| data.payload.pageCount | 148 | Number | Total of Pages |
| data.header | | Object | |
| data.header.nameSpace | attendance.record | String | |
| data.header.nameAction | getrecord | String | |
| data.header.version | 1.0 | String | |
| data.header.requestId | f1becc28-ad01-b5b3-7cef-392eb1526f39 | String | |
| data.header.timestamp | 2022-10-23T07:39:07+00:00 | String | |
| description | | Object | |
| error | {} | Object | Respond Error |

Please register a CrossChex Cloud Account to check the Cloud API

---

<div class="post-metadata">

**Author:** ![douton](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@douton](https://community.anviz.com/u/douton)\
**Post date:** [January 3, 2023, 4:49am UTC](https://community.anviz.com/t/how-to-use-api-to-get-the-records-from-the-crosschex-cloud/726/2 "2023-01-03T04:49:00Z")

</div>

I would like to enable API Access and Webhooks. EU Server. Email: douton@lartel.es  
Thank you

---

<div class="post-metadata">

**Author:** ![Leonardo\_Anviz](https://sea2.discourse-cdn.com/flex020/user_avatar/community.anviz.com/leonardo_anviz/32/60_2.png) [@Leonardo\_Anviz](https://community.anviz.com/u/Leonardo_Anviz)\
**Post date:** [January 3, 2023, 2:29pm UTC](https://community.anviz.com/t/how-to-use-api-to-get-the-records-from-the-crosschex-cloud/726/3 "2023-01-03T14:29:03Z")

</div>

Hi @Felix_Anviz please enable the developer mode for the account above, thank you!

---

<div class="post-metadata">

**Author:** ![cnrc-manager](https://avatars.discourse-cdn.com/v4/letter/c/bc79bd/32.png) [@cnrc-manager](https://community.anviz.com/u/cnrc-manager)\
**Post date:** [January 4, 2023, 1:24am UTC](https://community.anviz.com/t/how-to-use-api-to-get-the-records-from-the-crosschex-cloud/726/4 "2023-01-04T01:24:50Z")

</div>

Hi, how can we use CrossChex Cloud API to get employee records?.  
We do not have any “api\_key” or “api\_secret”.  
Can we see any example of usage?  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![l.stramenga](https://avatars.discourse-cdn.com/v4/letter/l/cc9497/32.png) [@l.stramenga](https://community.anviz.com/u/l.stramenga)\
**Post date:** [January 11, 2023, 8:59am UTC](https://community.anviz.com/t/how-to-use-api-to-get-the-records-from-the-crosschex-cloud/726/5 "2023-01-11T08:59:31Z")

</div>

Hello,  
we would like to have access to the developer mode (APIS and Webhooks) for our cloud ([cn.crosschexcloud.com](http://cn.crosschexcloud.com), company ID: 210000369)

---

<div class="post-metadata">

**Author:** ![Felix\_Anviz](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@Felix\_Anviz](https://community.anviz.com/u/Felix_Anviz)\
**Post date:** [January 12, 2023, 7:00am UTC](https://community.anviz.com/t/how-to-use-api-to-get-the-records-from-the-crosschex-cloud/726/6 "2023-01-12T07:00:27Z")

</div>

@douton  
Please provide us your Company ID in your crosschex cloud. Thanks

---

<div class="post-metadata">

**Author:** ![Felix\_Anviz](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@Felix\_Anviz](https://community.anviz.com/u/Felix_Anviz)\
**Post date:** [January 12, 2023, 7:06am UTC](https://community.anviz.com/t/how-to-use-api-to-get-the-records-from-the-crosschex-cloud/726/7 "2023-01-12T07:06:36Z")

</div>

@cnrc-manager  
Please check your cloud account again. We already fixed it.

---

<div class="post-metadata">

**Author:** ![cnrc-manager](https://avatars.discourse-cdn.com/v4/letter/c/bc79bd/32.png) [@cnrc-manager](https://community.anviz.com/u/cnrc-manager)\
**Post date:** [January 12, 2023, 11:01am UTC](https://community.anviz.com/t/how-to-use-api-to-get-the-records-from-the-crosschex-cloud/726/8 "2023-01-12T11:01:09Z")

</div>

Thanks for the reply.  
So, we should be able to see the “Developer Mode” option in the “Settings” section?  
I don’t see any changes to the CrossChex Cloud platform.  
Note: we access through [eu.crosschexcloud.com](http://eu.crosschexcloud.com)  
Thanks.

---

<div class="post-metadata">

**Author:** ![cnrc-manager](https://avatars.discourse-cdn.com/v4/letter/c/bc79bd/32.png) [@cnrc-manager](https://community.anviz.com/u/cnrc-manager)\
**Post date:** [January 23, 2023, 5:39pm UTC](https://community.anviz.com/t/how-to-use-api-to-get-the-records-from-the-crosschex-cloud/726/9 "2023-01-23T17:39:02Z")

</div>

Hello, can you help me with this matter, please?

---

<div class="post-metadata">

**Author:** ![Felix\_Anviz](https://avatars.discourse-cdn.com/v4/letter/f/7c8e57/32.png) [@Felix\_Anviz](https://community.anviz.com/u/Felix_Anviz)\
**Post date:** [January 25, 2023, 2:17am UTC](https://community.anviz.com/t/how-to-use-api-to-get-the-records-from-the-crosschex-cloud/726/10 "2023-01-25T02:17:02Z")

</div>

@cnrc-manager 🙂  
Please provide us the cloud company ID account. We will active for you.

---

<div class="post-metadata">

**Author:** ![cnrc-manager](https://avatars.discourse-cdn.com/v4/letter/c/bc79bd/32.png) [@cnrc-manager](https://community.anviz.com/u/cnrc-manager)\
**Post date:** [January 25, 2023, 9:57am UTC](https://community.anviz.com/t/how-to-use-api-to-get-the-records-from-the-crosschex-cloud/726/11 "2023-01-25T09:57:56Z")

</div>

How can I send you this information privately?  
Thanks.

---

<div class="post-metadata">

**Author:** ![Leonardo\_Anviz](https://sea2.discourse-cdn.com/flex020/user_avatar/community.anviz.com/leonardo_anviz/32/60_2.png) [@Leonardo\_Anviz](https://community.anviz.com/u/Leonardo_Anviz)\
**Post date:** [January 25, 2023, 1:48pm UTC](https://community.anviz.com/t/how-to-use-api-to-get-the-records-from-the-crosschex-cloud/726/12 "2023-01-25T13:48:17Z")

</div>

@cnrc-manager You can click on his name to access his community profile and send an internal message from there.

---

<div class="post-metadata">

**Author:** ![cnrc-manager](https://avatars.discourse-cdn.com/v4/letter/c/bc79bd/32.png) [@cnrc-manager](https://community.anviz.com/u/cnrc-manager)\
**Post date:** [January 25, 2023, 6:49pm UTC](https://community.anviz.com/t/how-to-use-api-to-get-the-records-from-the-crosschex-cloud/726/13 "2023-01-25T18:49:08Z")

</div>

Excuse me Leonardo, I clicked on the name “Felix Anviz” and I go to that direction:

> **[Felix\_Anviz](https://community.anviz.com/u/Felix_Anviz)**

(attached image is what I see)

 ![imagen](https://us1.discourse-cdn.com/flex020/uploads/anviz/original/1X/937bd98667a61e66afd64c83e7b40cfc105c78b1.png)

But in this place I don’t see any option to send an internal message to Felix.  
Can you give me a hint on the steps to follow?  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Leonardo\_Anviz](https://sea2.discourse-cdn.com/flex020/user_avatar/community.anviz.com/leonardo_anviz/32/60_2.png) [@Leonardo\_Anviz](https://community.anviz.com/u/Leonardo_Anviz)\
**Post date:** [January 25, 2023, 7:31pm UTC](https://community.anviz.com/t/how-to-use-api-to-get-the-records-from-the-crosschex-cloud/726/14 "2023-01-25T19:31:43Z")

</div>

I just sent you a private message, you can reply me from there

---

<div class="post-metadata">

**Author:** ![l.stramenga](https://avatars.discourse-cdn.com/v4/letter/l/cc9497/32.png) [@l.stramenga](https://community.anviz.com/u/l.stramenga)\
**Post date:** [January 26, 2023, 9:10am UTC](https://community.anviz.com/t/how-to-use-api-to-get-the-records-from-the-crosschex-cloud/726/15 "2023-01-26T09:10:52Z")

</div>

Hi, what’s the exact purpose of the requestId field?  
In the docs it is written that it is required, however even If I do not specify the field the response still works perfectly.  
Is it just a utility for the custom application or it has a specific purpose?  
The same goes for the timestamp field

---

<div class="post-metadata">

**Author:** ![Leonardo\_Anviz](https://sea2.discourse-cdn.com/flex020/user_avatar/community.anviz.com/leonardo_anviz/32/60_2.png) [@Leonardo\_Anviz](https://community.anviz.com/u/Leonardo_Anviz)\
**Post date:** [January 31, 2023, 3:00pm UTC](https://community.anviz.com/t/how-to-use-api-to-get-the-records-from-the-crosschex-cloud/726/16 "2023-01-31T15:00:55Z")

</div>

[![](https://us1.discourse-cdn.com/flex020/uploads/anviz/original/1X/87a664f1412856ae83bc71a5d9d90d6de29aabc2.png)](https://community.anviz.com/u/Contabilidad)

[Contabilidad](https://community.anviz.com/u/Contabilidad)

[1h](https://community.anviz.com/t/solicitud-activacion-developer-mode-en-crosschex-cloud/869)

Hola, por esta via solicito que activen el modo desarrollador en nuestro panel Crosschex cloud. La cuenta es contabilidad@bss.com.do de la empresa con Código de Usuario 110004533

---

<div class="post-metadata">

**Author:** ![Contabilidad](https://avatars.discourse-cdn.com/v4/letter/c/ccd318/32.png) [@Contabilidad](https://community.anviz.com/u/Contabilidad)\
**Post date:** [February 3, 2023, 3:01pm UTC](https://community.anviz.com/t/how-to-use-api-to-get-the-records-from-the-crosschex-cloud/726/17 "2023-02-03T15:01:39Z")

</div>

I would like to request that developer mode be enabled for my account. Company ID: 110004533

---

<div class="post-metadata">

**Author:** ![cnrc-manager](https://avatars.discourse-cdn.com/v4/letter/c/bc79bd/32.png) [@cnrc-manager](https://community.anviz.com/u/cnrc-manager)\
**Post date:** [February 8, 2023, 6:49pm UTC](https://community.anviz.com/t/how-to-use-api-to-get-the-records-from-the-crosschex-cloud/726/18 "2023-02-08T18:49:36Z")

</div>

Hello Leonardo. I have not heard from you for days, and the developer mode is not activated yet. I privately sent you the information you requested, do you need something else?.  
Greetings and thank you.

---

<div class="post-metadata">

**Author:** ![Leonardo\_Anviz](https://sea2.discourse-cdn.com/flex020/user_avatar/community.anviz.com/leonardo_anviz/32/60_2.png) [@Leonardo\_Anviz](https://community.anviz.com/u/Leonardo_Anviz)\
**Post date:** [February 8, 2023, 7:23pm UTC](https://community.anviz.com/t/how-to-use-api-to-get-the-records-from-the-crosschex-cloud/726/19 "2023-02-08T19:23:16Z")

</div>

Hello @cnrc-manager according to my internal team, the developer mode should be enabled for you

I will check once more, sorry for the delay.

---

<div class="post-metadata">

**Author:** ![cnrc-manager](https://avatars.discourse-cdn.com/v4/letter/c/bc79bd/32.png) [@cnrc-manager](https://community.anviz.com/u/cnrc-manager)\
**Post date:** [February 9, 2023, 9:17am UTC](https://community.anviz.com/t/how-to-use-api-to-get-the-records-from-the-crosschex-cloud/726/20 "2023-02-09T09:17:57Z")

</div>

Ok, now we do have developer mode enabled. Thanks for the attention.

[Next page](https://community.anviz.com/t/how-to-use-api-to-get-the-records-from-the-crosschex-cloud/726.md?page=2)
