Skip to content

Export CSV of the Phones

GET
/groups/{id}/file/csv
Example of the CSV
idphonecol_Acol_Bcol_Ccol_Dcol_Ecallback_data
7848412+49123456780NameSecond nameFooBarZoo12345
7848413+49123456781NameSecond nameFooBarZoo12346
7848414+49123456782NameSecond nameFooBarZoo12347
7848415+49123456783NameSecond nameFooBarZoo12348

The names of the columns will correspond to the values in the fields name_X of the corresponding /group object. If the corresponding value is missing, the default is col_X, where X = (a, b, c, d, e).

#!/usr/bin/env bash
curl https://api.lox24.eu/groups/7116/file/csv \
-H 'X-LOX24-AUTH-TOKEN: 1234567:e3f3a759b6677959b6ebfcxxxxxxxxxx'
id
required
integer

Group ID

Export group’s phones as CSV file

Phone’s group

object
id

Group ID

integer
>= 1
name
required

Group name

string
>= 1 characters <= 50 characters
description

Group description

string | null
<= 255 characters
name_a

Name of the column

string | null
<= 50 characters
name_b

Name of the column

string | null
<= 50 characters
name_c

Name of the column

string | null
<= 50 characters
name_d

Name of the column

string | null
<= 50 characters
name_e

Name of the column

string | null
<= 50 characters
count_items

Count of the item in the group

integer
deleted_at

Date and time when group will be deleted

string | null format: date-time

Client ID or API key isn’t active or invalid!

Account isn’t activated. Please wait or contact to support!

Resource not found

IP address was temporary blocked, because during short time from it was sent many request with invalid credentials. Please wait and try later.