This documentation aims to provide all the information you need to work with our API.
To authenticate requests, include 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.
curl --request POST \
"https://backend.lynx-group.org/api/user/login" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"username\": \"quaerat\",
\"password\": \"inventore\"
}"
curl --request POST \
"https://backend.lynx-group.org/api/user/logout" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request POST \
"https://backend.lynx-group.org/api/admin/new" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"vylmgezcpswihpikaqeshioen\",
\"email\": \"donnelly.effie@example.com\"
}"
curl --request GET \
--get "https://backend.lynx-group.org/api/admin/list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "The route api/admin/list could not be found."
}
curl --request POST \
"https://backend.lynx-group.org/api/admin/alarm-interval" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"occurs_every\": 15
}"
curl --request GET \
--get "https://backend.lynx-group.org/api/admin/alarm-interval" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "The route api/admin/alarm-interval could not be found."
}
curl --request POST \
"https://backend.lynx-group.org/api/admin/change-password" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"old_password\": \"gfvnhtyjc\",
\"password\": \"tempore\"
}"
curl --request POST \
"https://backend.lynx-group.org/api/admin/agent/new" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "first_name=odio"\
--form "last_name=quo"\
--form "adresse=est"\
--form "phone=sit"\
--form "finger_print_data=molestiae"\
--form "email=flossie65@example.net"\
--form "birthday=2020-10-04"\
--form "birth_certificate=@/tmp/phpIWkJGu" \
--form "avatar=@/tmp/phpj4kOoN" curl --request GET \
--get "https://backend.lynx-group.org/api/admin/agent/list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "The route api/admin/agent/list could not be found."
}
The ID of the agent.
curl --request POST \
"https://backend.lynx-group.org/api/admin/agent/omnis/fingerprint" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"finger_print_data\": \"molestiae\"
}"
curl --request POST \
"https://backend.lynx-group.org/api/admin/supervisor/new" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "birthday=2016-06-13"\
--form "adresse=mzjjhaewfrcmcsgkldexah"\
--form "phone=qotnoc"\
--form "email=kelli58@example.com"\
--form "name=fbepwybabjemsdivbksbmwmd"\
--form "birth_certificate=@/tmp/phpz3plCH" \
--form "avatar=@/tmp/phpMPKYo0" curl --request GET \
--get "https://backend.lynx-group.org/api/admin/supervisor/list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "The route api/admin/supervisor/list could not be found."
}
curl --request GET \
--get "https://backend.lynx-group.org/api/admin/attendance/list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "The route api/admin/attendance/list could not be found."
}
curl --request GET \
--get "https://backend.lynx-group.org/api/admin/control/list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "The route api/admin/control/list could not be found."
}
curl --request POST \
"https://backend.lynx-group.org/api/admin/client/new" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--form "full_name=amxrfwydhnx"\
--form "email=ctowne@example.net"\
--form "phone=kih"\
--form "phone_2=mevmvullslsddh"\
--form "adresse=rgcnt"\
--form "contract_duration=239675303.134"\
--form "contract_start=2024-03-28T15:29:06"\
--form "contract_file=@/tmp/php4qsFRU" curl --request POST \
"https://backend.lynx-group.org/api/admin/client/new-post" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"client_id\": \"et\",
\"name\": \"styjk\",
\"adresse\": \"fezjfmbvze\",
\"latitude\": \"quis\",
\"longitude\": \"totam\"
}"
curl --request POST \
"https://backend.lynx-group.org/api/admin/client/new-base-intervention" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"agent_ids\": [
\"quia\"
],
\"post_id\": \"consequuntur\",
\"supervisor_id\": \"et\",
\"start_time\": \"15:29\",
\"end_time\": \"15:29\",
\"day_frequency\": 1454.299360923
}"
curl --request GET \
--get "https://backend.lynx-group.org/api/admin/client/list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "The route api/admin/client/list could not be found."
}
curl --request GET \
--get "https://backend.lynx-group.org/api/admin/client/post-list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "The route api/admin/client/post-list could not be found."
}
The ID of the client.
curl --request GET \
--get "https://backend.lynx-group.org/api/admin/client/unde/posts" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "The route api/admin/client/unde/posts could not be found."
}
curl --request GET \
--get "https://backend.lynx-group.org/api/admin/client/base-intervention-list" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "The route api/admin/client/base-intervention-list could not be found."
}
curl --request GET \
--get "https://backend.lynx-group.org/api/admin/client/today-intervention" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "The route api/admin/client/today-intervention could not be found."
}
curl --request GET \
--get "https://backend.lynx-group.org/api/admin/client/interventions/historical" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "The route api/admin/client/interventions/historical could not be found."
}
curl --request GET \
--get "https://backend.lynx-group.org/api/admin/client/intervention-by-date/eaque" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "The route api/admin/client/intervention-by-date/eaque could not be found."
}
curl --request GET \
--get "https://backend.lynx-group.org/api/admin/client/calender-event" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control
: no-cache, private
content-type
: application/json
access-control-allow-origin
: *
{
"message": "The route api/admin/client/calender-event could not be found."
}