Introduction
This documentation aims to provide all the information you need to work with our API.
Base URL
https://s2absorb.lidoms.com
Authenticating requests
This API is not authenticated.
Endpoints
Create User
Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://s2absorb.lidoms.com/api/v1/absorb/users/create',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'X-Header-Domain' => 'concealedcoalition.com',
],
'json' => [
'account' => 'concealed',
'order_id' => 20,
'user_id' => 'est',
'first_name' => 'quae',
'last_name' => 'odit',
'email' => '[email protected]',
'phone' => '4326588057',
'address' => 'sapiente',
'city' => 'velit',
'state' => 'omnis',
'zip' => 'jqmyn',
'role_id' => [
'b784861f-fad1-3b7d-8cb1-736f92cc104c',
],
'path' => 'molestiae',
'membership_type' => 'soluta',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
import requests
import json
url = 'https://s2absorb.lidoms.com/api/v1/absorb/users/create'
payload = {
"account": "concealed",
"order_id": 20,
"user_id": "est",
"first_name": "quae",
"last_name": "odit",
"email": "[email protected]",
"phone": "4326588057",
"address": "sapiente",
"city": "velit",
"state": "omnis",
"zip": "jqmyn",
"role_id": [
"b784861f-fad1-3b7d-8cb1-736f92cc104c"
],
"path": "molestiae",
"membership_type": "soluta"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json',
'X-Header-Domain': 'concealedcoalition.com'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()
const url = new URL(
"https://s2absorb.lidoms.com/api/v1/absorb/users/create"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"X-Header-Domain": "concealedcoalition.com",
};
let body = {
"account": "concealed",
"order_id": 20,
"user_id": "est",
"first_name": "quae",
"last_name": "odit",
"email": "[email protected]",
"phone": "4326588057",
"address": "sapiente",
"city": "velit",
"state": "omnis",
"zip": "jqmyn",
"role_id": [
"b784861f-fad1-3b7d-8cb1-736f92cc104c"
],
"path": "molestiae",
"membership_type": "soluta"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Enroll User In A Course
Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://s2absorb.lidoms.com/api/v1/absorb/users/course-enroll',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'X-Header-Domain' => 'concealedcoalition.com',
],
'json' => [
'account' => 'asp',
'order_id' => 12,
'user_id' => '2154ab3d-2c5c-3f66-91d3-db5ab9c0d43c',
'course_id' => '4babec40-2b56-3633-9951-3f8d3613383b',
'email' => '[email protected]',
're_enroll' => false,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
import requests
import json
url = 'https://s2absorb.lidoms.com/api/v1/absorb/users/course-enroll'
payload = {
"account": "asp",
"order_id": 12,
"user_id": "2154ab3d-2c5c-3f66-91d3-db5ab9c0d43c",
"course_id": "4babec40-2b56-3633-9951-3f8d3613383b",
"email": "[email protected]",
"re_enroll": false
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json',
'X-Header-Domain': 'concealedcoalition.com'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()
const url = new URL(
"https://s2absorb.lidoms.com/api/v1/absorb/users/course-enroll"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"X-Header-Domain": "concealedcoalition.com",
};
let body = {
"account": "asp",
"order_id": 12,
"user_id": "2154ab3d-2c5c-3f66-91d3-db5ab9c0d43c",
"course_id": "4babec40-2b56-3633-9951-3f8d3613383b",
"email": "[email protected]",
"re_enroll": false
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Enroll User In Multiple Courses
Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://s2absorb.lidoms.com/api/v1/absorb/users/multi-course-enroll',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'X-Header-Domain' => 'concealedcoalition.com',
],
'json' => [
'account' => 'countrywide',
'user_id' => 'a43b1204-6315-3906-9b15-ae23ccc4622a',
'email' => '[email protected]',
'order_id' => 16,
'course_list' => [
[
'id' => '8a866702-a9fd-363c-b323-39827f8ca5e5',
're_enroll' => false,
],
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
import requests
import json
url = 'https://s2absorb.lidoms.com/api/v1/absorb/users/multi-course-enroll'
payload = {
"account": "countrywide",
"user_id": "a43b1204-6315-3906-9b15-ae23ccc4622a",
"email": "[email protected]",
"order_id": 16,
"course_list": [
{
"id": "8a866702-a9fd-363c-b323-39827f8ca5e5",
"re_enroll": false
}
]
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json',
'X-Header-Domain': 'concealedcoalition.com'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()
const url = new URL(
"https://s2absorb.lidoms.com/api/v1/absorb/users/multi-course-enroll"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"X-Header-Domain": "concealedcoalition.com",
};
let body = {
"account": "countrywide",
"user_id": "a43b1204-6315-3906-9b15-ae23ccc4622a",
"email": "[email protected]",
"order_id": 16,
"course_list": [
{
"id": "8a866702-a9fd-363c-b323-39827f8ca5e5",
"re_enroll": false
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Inactivate User In Absorb
Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://s2absorb.lidoms.com/api/v1/absorb/users/inactivate',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'X-Header-Domain' => 'concealedcoalition.com',
],
'json' => [
'account' => 'concealed',
'absorb_user_id' => '42361d06-e253-36f2-85b8-cc1a32c8fc03',
'first_name' => 'molestias',
'last_name' => 'perspiciatis',
'email' => '[email protected]',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
import requests
import json
url = 'https://s2absorb.lidoms.com/api/v1/absorb/users/inactivate'
payload = {
"account": "concealed",
"absorb_user_id": "42361d06-e253-36f2-85b8-cc1a32c8fc03",
"first_name": "molestias",
"last_name": "perspiciatis",
"email": "[email protected]"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json',
'X-Header-Domain': 'concealedcoalition.com'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()
const url = new URL(
"https://s2absorb.lidoms.com/api/v1/absorb/users/inactivate"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"X-Header-Domain": "concealedcoalition.com",
};
let body = {
"account": "concealed",
"absorb_user_id": "42361d06-e253-36f2-85b8-cc1a32c8fc03",
"first_name": "molestias",
"last_name": "perspiciatis",
"email": "[email protected]"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Backlog Data Create User
Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://s2absorb.lidoms.com/api/v1/absorb/backlog-data/users/create',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'X-Header-Domain' => 'concealedcoalition.com',
],
'json' => [
'account' => 'ducimus',
'order_id' => 4,
'email' => '[email protected]',
'is_test_order' => false,
'absorb_user_id' => 'et',
'payload' => [
'quisquam',
],
'response' => [
'repellendus',
],
'path' => 'quasi',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
import requests
import json
url = 'https://s2absorb.lidoms.com/api/v1/absorb/backlog-data/users/create'
payload = {
"account": "ducimus",
"order_id": 4,
"email": "[email protected]",
"is_test_order": false,
"absorb_user_id": "et",
"payload": [
"quisquam"
],
"response": [
"repellendus"
],
"path": "quasi"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json',
'X-Header-Domain': 'concealedcoalition.com'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()
const url = new URL(
"https://s2absorb.lidoms.com/api/v1/absorb/backlog-data/users/create"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"X-Header-Domain": "concealedcoalition.com",
};
let body = {
"account": "ducimus",
"order_id": 4,
"email": "[email protected]",
"is_test_order": false,
"absorb_user_id": "et",
"payload": [
"quisquam"
],
"response": [
"repellendus"
],
"path": "quasi"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Get Absorb User Details
Example request:
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://s2absorb.lidoms.com/api/v1/absorb/users/get',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'X-Header-Domain' => 'concealedcoalition.com',
],
'json' => [
'email' => '[email protected]',
'order_id' => 35004.752173131,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
import requests
import json
url = 'https://s2absorb.lidoms.com/api/v1/absorb/users/get'
payload = {
"email": "[email protected]",
"order_id": 35004.752173131
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json',
'X-Header-Domain': 'concealedcoalition.com'
}
response = requests.request('GET', url, headers=headers, json=payload)
response.json()
const url = new URL(
"https://s2absorb.lidoms.com/api/v1/absorb/users/get"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"X-Header-Domain": "concealedcoalition.com",
};
let body = {
"email": "[email protected]",
"order_id": 35004.752173131
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 6000
x-ratelimit-remaining: 5999
access-control-allow-origin: *
{
"success": false,
"message": "127.0.0.1 not white listed"
}
Received response:
Request failed with error:
Search Absorb User Details by Email or Phone
Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://s2absorb.lidoms.com/api/v1/absorb/users/search',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'X-Header-Domain' => 'concealedcoalition.com',
],
'json' => [
'search' => 'a',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
import requests
import json
url = 'https://s2absorb.lidoms.com/api/v1/absorb/users/search'
payload = {
"search": "a"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json',
'X-Header-Domain': 'concealedcoalition.com'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()
const url = new URL(
"https://s2absorb.lidoms.com/api/v1/absorb/users/search"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"X-Header-Domain": "concealedcoalition.com",
};
let body = {
"search": "a"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Search Absorb User Details By Email Using Absorb API
Example request:
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://s2absorb.lidoms.com/api/v1/absorb/users/search-by-email',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'X-Header-Domain' => 'concealedcoalition.com',
],
'json' => [
'account' => 'concealed',
'email' => '[email protected]',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
import requests
import json
url = 'https://s2absorb.lidoms.com/api/v1/absorb/users/search-by-email'
payload = {
"account": "concealed",
"email": "[email protected]"
}
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json',
'X-Header-Domain': 'concealedcoalition.com'
}
response = requests.request('POST', url, headers=headers, json=payload)
response.json()
const url = new URL(
"https://s2absorb.lidoms.com/api/v1/absorb/users/search-by-email"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"X-Header-Domain": "concealedcoalition.com",
};
let body = {
"account": "concealed",
"email": "[email protected]"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error: