Introduction
This documentation aims to provide all the information you need to work with our API.
Authenticating requests
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 run login API.
Affirmation
List
requires authentication
Get the list of affirmation
Example request:
curl --request GET \
--get "https://bighappy.pehoy.com/api/v1/categoryaffirmation?search=%22%22&per_page=10&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/categoryaffirmation"
);
const params = {
"search": """",
"per_page": "10",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/categoryaffirmation';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
'query' => [
'search' => '""',
'per_page' => '10',
'page' => '1',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Add and update the affirmation
Example request:
curl --request POST \
"https://bighappy.pehoy.com/api/v1/categoryaffirmation" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: application/json" \
--data "{
\"affirmation_text\": \"\"
}"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/categoryaffirmation"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "application/json",
};
let body = {
"affirmation_text": ""
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/categoryaffirmation';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'application/json',
],
'json' => [
'affirmation_text' => '',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Details
requires authentication
get the details of the affirmation
Example request:
curl --request GET \
--get "https://bighappy.pehoy.com/api/v1/categoryaffirmation/maiores" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/categoryaffirmation/maiores"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/categoryaffirmation/maiores';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete Selected
requires authentication
Delete the affirmation
Example request:
curl --request DELETE \
"https://bighappy.pehoy.com/api/v1/category/affirmation/delete" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: application/json" \
--data "{
\"ids\": [
\"voluptate\"
]
}"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/category/affirmation/delete"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "application/json",
};
let body = {
"ids": [
"voluptate"
]
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/category/affirmation/delete';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'application/json',
],
'json' => [
'ids' => [
'voluptate',
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
AffirmationCategory
List
requires authentication
Get the list of author
Example request:
curl --request GET \
--get "https://bighappy.pehoy.com/api/v1/affirmationcategory?search=%22%22&per_page=10&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/affirmationcategory"
);
const params = {
"search": """",
"per_page": "10",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/affirmationcategory';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
'query' => [
'search' => '""',
'per_page' => '10',
'page' => '1',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Add and update the author
Example request:
curl --request POST \
"https://bighappy.pehoy.com/api/v1/affirmationcategory" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: application/json" \
--data "{
\"name\": \"\"
}"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/affirmationcategory"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "application/json",
};
let body = {
"name": ""
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/affirmationcategory';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'application/json',
],
'json' => [
'name' => '',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Details
requires authentication
get the details of the author
Example request:
curl --request GET \
--get "https://bighappy.pehoy.com/api/v1/affirmationcategory/possimus" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/affirmationcategory/possimus"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/affirmationcategory/possimus';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete Selected
requires authentication
Delete the author
Example request:
curl --request DELETE \
"https://bighappy.pehoy.com/api/v1/affirmationcategory/delete" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: application/json" \
--data "{
\"ids\": [
\"culpa\"
]
}"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/affirmationcategory/delete"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "application/json",
};
let body = {
"ids": [
"culpa"
]
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/affirmationcategory/delete';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'application/json',
],
'json' => [
'ids' => [
'culpa',
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Authentication
Login
login the user
Example request:
curl --request POST \
"https://bighappy.pehoy.com/api/v1/auth/login" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: application/json" \
--data "{
\"email\": \"rauer@example.org\",
\"password\": \"voluptate\",
\"is_social\": \"TRUE\\/FALSE\",
\"social_token\": \"ASCHU55SDSD907HJY6\",
\"social_name\": \"Facebook\"
}"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/auth/login"
);
const headers = {
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "application/json",
};
let body = {
"email": "rauer@example.org",
"password": "voluptate",
"is_social": "TRUE\/FALSE",
"social_token": "ASCHU55SDSD907HJY6",
"social_name": "Facebook"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/auth/login';
$response = $client->post(
$url,
[
'headers' => [
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'application/json',
],
'json' => [
'email' => 'rauer@example.org',
'password' => 'voluptate',
'is_social' => 'TRUE/FALSE',
'social_token' => 'ASCHU55SDSD907HJY6',
'social_name' => 'Facebook',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 59
access-control-allow-origin: *
{
"message": "These credentials do not match our records.",
"error": true,
"code": 401,
"data": null
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Register
Register the account of support worker
Example request:
curl --request POST \
"https://bighappy.pehoy.com/api/v1/auth/register" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: application/json" \
--data "{
\"email\": \"john@doe.com\",
\"password\": \"Test@123\",
\"is_social\": \"TRUE\\/FALSE\",
\"social_token\": \"ASCHU55SDSD907HJY6\",
\"social_name\": \"Facebook\",
\"phone_number\": \"98765XXXXX\"
}"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/auth/register"
);
const headers = {
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "application/json",
};
let body = {
"email": "john@doe.com",
"password": "Test@123",
"is_social": "TRUE\/FALSE",
"social_token": "ASCHU55SDSD907HJY6",
"social_name": "Facebook",
"phone_number": "98765XXXXX"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/auth/register';
$response = $client->post(
$url,
[
'headers' => [
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'application/json',
],
'json' => [
'email' => 'john@doe.com',
'password' => 'Test@123',
'is_social' => 'TRUE/FALSE',
'social_token' => 'ASCHU55SDSD907HJY6',
'social_name' => 'Facebook',
'phone_number' => '98765XXXXX',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (422):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 58
access-control-allow-origin: *
{
"message": "The email has already been taken.",
"error": true,
"code": 422,
"data": null
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Forgot Password
forgot the password for the user account
Example request:
curl --request POST \
"https://bighappy.pehoy.com/api/v1/auth/forgot-password" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: application/json" \
--data "{
\"email\": \"lucie73@example.net\"
}"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/auth/forgot-password"
);
const headers = {
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "application/json",
};
let body = {
"email": "lucie73@example.net"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/auth/forgot-password';
$response = $client->post(
$url,
[
'headers' => [
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'application/json',
],
'json' => [
'email' => 'lucie73@example.net',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
x-ratelimit-limit: 60
x-ratelimit-remaining: 57
access-control-allow-origin: *
{
"message": "Email address does not exist",
"error": true,
"code": 404,
"data": []
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Reset Password
reset password for user account using forgot password activation link
Example request:
curl --request POST \
"https://bighappy.pehoy.com/api/v1/auth/reset-password" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: application/json" \
--data "{
\"token\": \"veniam\",
\"email\": \"becker.bulah@example.com\",
\"password\": \"@0VMClkvAT@#<!.9VP8t\",
\"password_confirmation\": \"odit\"
}"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/auth/reset-password"
);
const headers = {
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "application/json",
};
let body = {
"token": "veniam",
"email": "becker.bulah@example.com",
"password": "@0VMClkvAT@#<!.9VP8t",
"password_confirmation": "odit"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/auth/reset-password';
$response = $client->post(
$url,
[
'headers' => [
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'application/json',
],
'json' => [
'token' => 'veniam',
'email' => 'becker.bulah@example.com',
'password' => '@0VMClkvAT@#<!.9VP8t',
'password_confirmation' => 'odit',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200, Success):
{"message": "Password reset successfully! You can login with your new password!",}
Example response (401, Token is invalid):
{
"message": "This password reset token is invalid."
}
Example response (404, Email does not exist):
{
"message": "Email does not exist"
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Logout
requires authentication
logout from the account
Example request:
curl --request POST \
"https://bighappy.pehoy.com/api/v1/auth/logout" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/auth/logout"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/auth/logout';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Author
List
requires authentication
Get the list of author
Store
requires authentication
Add and update the author
Details
requires authentication
get the details of the author
Delete Selected
requires authentication
Delete the author
AuthorQuote
List
requires authentication
Get the list of author quote
Store
requires authentication
Add and update the author quote
Details
requires authentication
get the details of the author quote
Category
List
requires authentication
Get the list of category
Example request:
curl --request GET \
--get "https://bighappy.pehoy.com/api/v1/category?search=%22%22&per_page=10&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/category"
);
const params = {
"search": """",
"per_page": "10",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/category';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
'query' => [
'search' => '""',
'per_page' => '10',
'page' => '1',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Add and update a Category details
Example request:
curl --request POST \
"https://bighappy.pehoy.com/api/v1/category" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: multipart/form-data" \
--form "title="\
--form "description="\
--form "can_hide="\
--form "single_answer="\
--form "view_example="\
--form "view_type=0"\
--form "sort_id="\
--form "image=@/tmp/phpVCuZAg"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/category"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "multipart/form-data",
};
const body = new FormData();
body.append('title', '');
body.append('description', '');
body.append('can_hide', '');
body.append('single_answer', '');
body.append('view_example', '');
body.append('view_type', '0');
body.append('sort_id', '');
body.append('image', document.querySelector('input[name="image"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/category';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'multipart/form-data',
],
'multipart' => [
[
'name' => 'title',
'contents' => ''
],
[
'name' => 'description',
'contents' => ''
],
[
'name' => 'can_hide',
'contents' => ''
],
[
'name' => 'single_answer',
'contents' => ''
],
[
'name' => 'view_example',
'contents' => ''
],
[
'name' => 'view_type',
'contents' => '0'
],
[
'name' => 'sort_id',
'contents' => ''
],
[
'name' => 'image',
'contents' => fopen('/tmp/phpVCuZAg', 'r')
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Details
requires authentication
get the details of the house
Example request:
curl --request GET \
--get "https://bighappy.pehoy.com/api/v1/category/aut" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/category/aut"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/category/aut';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete Selected
requires authentication
Delete the categories
Example request:
curl --request DELETE \
"https://bighappy.pehoy.com/api/v1/category/delete" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: application/json" \
--data "{
\"ids\": [
\"provident\"
]
}"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/category/delete"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "application/json",
};
let body = {
"ids": [
"provident"
]
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/category/delete';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'application/json',
],
'json' => [
'ids' => [
'provident',
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
API For Category List for APP Users
requires authentication
Get the list of category
Example request:
curl --request GET \
--get "https://bighappy.pehoy.com/api/v1/apiList?search=%22%22&per_page=10&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/apiList"
);
const params = {
"search": """",
"per_page": "10",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/apiList';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
'query' => [
'search' => '""',
'per_page' => '10',
'page' => '1',
],
]
);
$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: 60
x-ratelimit-remaining: 56
access-control-allow-origin: *
{
"message": "Records has been fetch successfully!",
"error": false,
"code": 200,
"data": {
"data": [],
"links": {
"first": "https://bighappy.pehoy.com/api/v1/apiList?page=1",
"prev": null,
"next": null,
"last": "https://bighappy.pehoy.com/api/v1/apiList?page=1"
},
"meta": {
"current_page": 1,
"from": null,
"to": null,
"hasMorePages": false,
"last_page": 1,
"per_page": 10,
"total": 0,
"path": "https://bighappy.pehoy.com/api/v1/apiList"
}
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
CategoryField
Update display order
requires authentication
update a CategoryField display order
Example request:
curl --request POST \
"https://bighappy.pehoy.com/api/v1/categoryfield/sint/displayOrder" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: application/json" \
--data "{
\"title\": \"\"
}"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/categoryfield/sint/displayOrder"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "application/json",
};
let body = {
"title": ""
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/categoryfield/sint/displayOrder';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'application/json',
],
'json' => [
'title' => '',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
List
requires authentication
Get the list of CategoryField
Example request:
curl --request GET \
--get "https://bighappy.pehoy.com/api/v1/categoryfield?search=%22%22&per_page=10&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/categoryfield"
);
const params = {
"search": """",
"per_page": "10",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/categoryfield';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
'query' => [
'search' => '""',
'per_page' => '10',
'page' => '1',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Add and update a CategoryField details
Example request:
curl --request POST \
"https://bighappy.pehoy.com/api/v1/categoryfield" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: application/json" \
--data "{
\"title\": \"\"
}"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/categoryfield"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "application/json",
};
let body = {
"title": ""
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/categoryfield';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'application/json',
],
'json' => [
'title' => '',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Details
requires authentication
get the details of the house
Example request:
curl --request GET \
--get "https://bighappy.pehoy.com/api/v1/categoryfield/et" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/categoryfield/et"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/categoryfield/et';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete Selected
requires authentication
Delete the CategoryField
Example request:
curl --request DELETE \
"https://bighappy.pehoy.com/api/v1/categoryfield/delete" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: application/json" \
--data "{
\"ids\": [
\"enim\"
]
}"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/categoryfield/delete"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "application/json",
};
let body = {
"ids": [
"enim"
]
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/categoryfield/delete';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'application/json',
],
'json' => [
'ids' => [
'enim',
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
DELETE api/v1/categoryfield/deletecategory
requires authentication
Example request:
curl --request DELETE \
"https://bighappy.pehoy.com/api/v1/categoryfield/deletecategory" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/categoryfield/deletecategory"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/categoryfield/deletecategory';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Adddata
requires authentication
Add CategoryField details
Example request:
curl --request POST \
"https://bighappy.pehoy.com/api/v1/addData" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: application/json" \
--data "{
\"saved_data_id\": \"qui\",
\"category_id\": \"\",
\"sub_category_id\": \"\",
\"user_id\": \"\",
\"data\": \"\",
\"individual_content\": \"\",
\"individual_reminder\": \"\",
\"general_reminder\": \"\"
}"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/addData"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "application/json",
};
let body = {
"saved_data_id": "qui",
"category_id": "",
"sub_category_id": "",
"user_id": "",
"data": "",
"individual_content": "",
"individual_reminder": "",
"general_reminder": ""
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/addData';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'application/json',
],
'json' => [
'saved_data_id' => 'qui',
'category_id' => '',
'sub_category_id' => '',
'user_id' => '',
'data' => '',
'individual_content' => '',
'individual_reminder' => '',
'general_reminder' => '',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
CategoryWhyHow
List
requires authentication
Get the list of category whyHow
Example request:
curl --request GET \
--get "https://bighappy.pehoy.com/api/v1/categorywhyhow?search=%22%22&per_page=10&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/categorywhyhow"
);
const params = {
"search": """",
"per_page": "10",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/categorywhyhow';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
'query' => [
'search' => '""',
'per_page' => '10',
'page' => '1',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Add and update the category whyhow
Example request:
curl --request POST \
"https://bighappy.pehoy.com/api/v1/categorywhyhow" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: application/json" \
--data "{
\"category_id\": \"\",
\"whyhow_text\": \"\",
\"option_id\": \"\"
}"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/categorywhyhow"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "application/json",
};
let body = {
"category_id": "",
"whyhow_text": "",
"option_id": ""
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/categorywhyhow';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'application/json',
],
'json' => [
'category_id' => '',
'whyhow_text' => '',
'option_id' => '',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Details
requires authentication
get the details of the category whyhow
Example request:
curl --request GET \
--get "https://bighappy.pehoy.com/api/v1/categorywhyhow/dolor" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/categorywhyhow/dolor"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/categorywhyhow/dolor';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete Selected
requires authentication
Delete the category whyhow
Example request:
curl --request DELETE \
"https://bighappy.pehoy.com/api/v1/categorywhyhow/delete" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: application/json" \
--data "{
\"ids\": [
\"facere\"
]
}"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/categorywhyhow/delete"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "application/json",
};
let body = {
"ids": [
"facere"
]
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/categorywhyhow/delete';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'application/json',
],
'json' => [
'ids' => [
'facere',
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
whyHowList
requires authentication
Get the list of category whyhow
Example request:
curl --request GET \
--get "https://bighappy.pehoy.com/api/v1/whyHowList?search=%22%22&per_page=10&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/whyHowList"
);
const params = {
"search": """",
"per_page": "10",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/whyHowList';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
'query' => [
'search' => '""',
'per_page' => '10',
'page' => '1',
],
]
);
$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: 60
x-ratelimit-remaining: 54
access-control-allow-origin: *
{
"message": "Records has been fetch successfully!",
"error": false,
"code": 200,
"data": {
"welcome_to_happy_time": "<p>welcome to happy time..</p>",
"for_best_result": "<p><strong>Getting started </strong><br> </p><p><strong>Read the introduction everyday for a week to allow the process to sink in.</strong> It only takes 8-12 minutes.<br> </p><p>Reading the introduction is a reminder of the awesome power we all have to create our lives.<strong> </strong>Once you get a clear picture of how Happy Time GPS can help you it becomes a lot easier and more effective.</p><p><strong>Place the app icon on your phone where you see it every time you open your phone.</strong><br> </p><p>“Where your attention goes your energy flows”.</p><p>Keeping your wishes and desire top of mind as you get started is the key to your success. If your news and social media apps are more important to you than creating your life, you are telling your subconscious mind, your silent partner that you do not plan to succeed. <br> </p><p><strong>Within the app you will find </strong><i><strong>Why & How</strong></i><strong>.</strong> This will take you to more information and examples to help you as you go. <br> </p><p><strong>The six processes</strong>. The processes within the app build on each other as you go. You can do them in any order you like. Below we have laid out an order that will help you get started. They are not presented in this order within the app, but you can change the order to one that suits you on the home page by holding the process’s header name down and dragging it up or down the page ( As in life, things do not appear until you create them :-). </p><p>The six processes are designed to help you create a positive state of mind as you create your vision for your life. The process will prime your pump of positive thoughts so they can flow all day. Positive thoughts create your present experience, optimistic thoughts create your future experience.<br> </p><p><strong>Start with “talk to me”.</strong> </p><p>This step lets you populate the app with some of the wisest words ever spoken and allows you to add your own favorite quotes and affirmations. You can easily select quotes that speak to you from our library of philosophers that inspire you and then listen or read them when you can use a boost. Before long you will sound like a wise philosopher as you quote them to your friends and family. <br> </p><p><strong>My Vibration is a good place to go next.</strong> EVERYTHING in the universe is energy. All energy has a vibrational frequency. The frequency of our personal vibration is how we transmit information/communication. The higher our vibration the better we feel. The better we feel the clearer the communication. Clear communication leads to clear results. <br> </p><p>You can raise your vibration at will with practice. As you practice raising your vibration you will feel good. Feeling good gives you confidence and allows you to dream and think big! If you practice raising your vibration every day it will soon become a habit. When it’s a habit you will find yourself taking quantum leaps in your progress because you will have crystal clear communication with the universe. You will have released doubt and residence caused by lack of clarity. Where there is no doubt or resistance there is faith. Faith in yourself and in knowing the universe is reflective and always returns what you put out in your thoughts and feelings. With faith you do not need to know how something will happen, you just know it will. <br> </p><p><strong>Next- go to my world</strong> to begin to update and create your identity and how you see the world you live in. <br> </p><p>You may have forgotten that you are not born with an identity, it is created through your thoughts, experiences and choices you make. It starts when you are given a name and is developed by your surroundings; the country you live in the family you were born to, the sports and instruments you play, the languages you speak, the life you are living. <br> </p><p>You are not your identity, you create it. It’s like an outfit you wear. Once you remember that you have an identity you can make choices and take action to update it at any stage in your life.</p><p>Taking time to reflect on and updating your identity throughout your life is fun. Its like shopping at your favorite store for the aspects you wish to wear for this time in your life. Think about them daily and they will begin to encapsulate you. <br> </p><p>The identity you create will naturally have desires to match. Once you have created your vision for your identity create a desire and a corresponding challenge to bring your identity to life. You will find desires and challenges in the tabs at the top. <br> </p><p>As you imagine the identity you wish to wear for this phase of your life just write down what comes to mind and update it as often as you feel inspired to do so. The image you hold of yourself and how you see the world will reflect itself back to you through your experiences. <br> </p><p><strong>Then create a desire.</strong></p><p><i>Desires are the big picture for a certain aspect of the life you dream to live. Imagine something you wish to create and experience. You know what it is. You may just have given up on it or you have been afraid to believe in it and yourself. Let your imagination have some fun creating it for you. Close your eyes and and open your mind to see it. Just like when you use to imagine riding a broom as a child, believing it is a horse you are riding along an endless beach.</i><br> </p><p>As you imagine this beautiful world with you in it creating this experience you desire, ask yourself how do you feel? When you feel good, start pursuing it by writing down the story you just imagined in the app. You can edit your story as your thoughts about it evolve. Once you write it down you have anchored it into your reality and your desire will continue to grow. <br> </p><p>If you are having trouble creating a story in your imagination, go to the <i>talk to me</i> tab and my vibration tab. These steps will help you feel good and open up your mind to allow you to imagine and dream again. </p><p>Once you create a clear vision for your desire, keep it top of mind and it will begin to show it self to the world through your heightened awareness and the actions you take.<br> </p><p><strong>Next challenge yourself. </strong>Challenges are steps on your way creating your desires. When you challenge yourself to take the steps you need to take to create your desire you are living your future you now. When you add a reasonable completion date for a step on your path creating your desire you get a boost in focus and drive that will help you get it done. <br> </p><p> As you take actions that match your desire through your challenges you will begin to feel the feeling you wish to feel when your desire has manifested. When you feel the way you expect to feel now rather than waiting for it to manifest you have released doubt and resistance about your desires existence. When you release doubt and resistance you open up your mind and make progress in ways you may not have imagined. Making progress feels good which makes it easier to keep making progress creating your desire. It’s the ultimate feedback loop. Once you are in the loop of creation it becomes a self fulfilling prophesy. <br> </p><p>There will always be set backs on your way to meeting your challenges. Challenges are where you get to practice picking yourself up and dusting yourself off when you encounter setbacks along the way. When you can maintain the feeling you wish to have when your desire manifest as you face setbacks you will find new paths that will take you to places you didn’t know existed. These are the paths that will lead to where you were meant to go. The quicker you can recover from setbacks by re-aligning your attitude behavior and beliefs with your desire the easier it becomes to complete and take on bigger challenges. <br> </p><p><strong>My Day.</strong> My day is your GPS to keep you on course creating your life. In this tab you will find GPS for my desires and GPS for my silent partner. These are two very powerful tools in creating your life. Once you have followed the steps to create a clear vision for who you want to be and what you want to create, your next step is to take daily actions that match. <br> </p><p><strong>GPS for my desires</strong> is where you write down the things you need to do in a particular day to bring your desire to life. These items will often relate to challenges you created with deadlines you set, to complete steps on your way creating your desire. If you haven’t created a challenge yet, creating one will help you bring a desire to life. Head there next :-)<br> </p><p><strong>GPS for my silent partner</strong> is where you write down the daily actions you would like your “silent partner” to do for you. If you have read the introduction you will understand who your silent partner is. If you haven’t, it’s a quick read, it only takes 8-10 minutes. The items you put on this list are the habits you would like to have that will create the person you dream to be. From flossing your teeth twice a day to making your bed to taking a walk to reading a book… First you make your habits, then your habits make you. Studies have shown when you write it down you are 91% likely to do it. <br> </p><p>Put the actions you would love to have on autopilot on your list and look at it daily. Once you do, you will find yourself doing things on the list with ease. <br> </p><p>When you remember that the joy is in the journey, life becomes a lot more fun. Have fun imagining and creating your life!</p>",
"categories": []
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Common
Options
Select2 Options
requires authentication
Get options for select2 by type
Example request:
curl --request GET \
--get "https://bighappy.pehoy.com/api/v1/common/select-two-options/State/non" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/common/select-two-options/State/non"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/common/select-two-options/State/non';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Home
HomeCategory
requires authentication
Get the list homeCategory
Example request:
curl --request GET \
--get "https://bighappy.pehoy.com/api/v1/home?search=%22%22&per_page=10&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/home"
);
const params = {
"search": """",
"per_page": "10",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/home';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
'query' => [
'search' => '""',
'per_page' => '10',
'page' => '1',
],
]
);
$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: 60
x-ratelimit-remaining: 55
access-control-allow-origin: *
{
"message": "Records has been fetch successfully!",
"error": false,
"code": 200,
"data": {
"introductionText": "<p>Happy Time GPS will guide you to set the course for the life of your wildest dreams and keep you on it.</p><p><br>The app makes it fun and easy to imagine, write down, and focus your attention on your dreams and desires.</p><p> </p><p><i><strong>If you’re not thinking about your dreams and desires, who is?!</strong></i></p><p> </p><p>We are currently living in an attention economy, with multibillion-dollar companies vying for every minute of our attention so they can monetize it. They know that we live in a mental universe, and by getting our attention for free, they are redirecting our energy to make them rich.</p><p> </p><p>They are literally sucking the life from us by stealing our attention. They distract us from focusing our attention on our own dreams and desires, using tactics to addict and trick us into giving them our attention. They know that where our attention goes, our energy flows—and fortunes are created. </p><p> </p><p>We have given so much of our valuable attention and energy to these companies for free by scrolling, listening, playing, and watching that they now influence and control the world we live in. We have been mesmerized.</p><p> </p><p>With the dawn of the AI age, it will only get easier for them to use their power to take even more of your precious attention. It’s time to wake up and re-focus your attention on your dreams and desires.<br> </p><p>You can make the choice as to where you place your attention right now. If you spent a fraction of the time you spend on news, social media, video games, and checking your texts focusing your attention on your dreams and desires, you would be living them. There is no stopping it because, where your attention goes, your energy flows. And where energy flows, creation unfolds. It’s a law of the mental universe.</p><p> </p><p>Science has begun to make it clear that we live in a mental universe, it’s not the material world we were led to believe. Philosophers and mystics have understood this for thousands of years. Being able to direct your thoughts and attention to direct energy is your power to influence your experience on Earth.</p><p>Humans have been on Earth for hundreds of thousands of years, yet it was only about 2,500 years ago that it became a common belief that the world was not flat. What old beliefs are you still holding on to?</p><p> </p><p>Once you accept that we live in a mental universe, you can create anything you can imagine and believe. As you open up your mind to new ideas, your beliefs will evolve and your consciousness will expand to allow you to reach your human potential.</p><p> </p><p>There is nothing complicated about it. Simply take time to think about, write down, and evolve your vision for who you are and what you love to do. And spend a little time focusing your attention on it every day.<br> </p><p>The universe is designed to conspire with you. When you maintain your attention on your vision, you are directing energy towards its creation, which causes your beliefs to evolve and align. This happens because a belief is just a thought you keep thinking, a belief is just a thought you keep thinking, a belief is just a thought you keep thinking…</p><p> </p><p>If there is a secret to manifestation in the mental universe, this is it: we live in a feedback loop. You must feel the feeling of what you desire in the present for it to manifest in your future. When you feel love, you get love. This is how you signal to the universe what you wish to receive. This is how it knows what you want. It’s how it was divinely designed; it’s pure compassion.<br> </p><p>When you remember that the joy is in the journey, you will have more fun. The more fun you have, the more fun you will have because, in the mental universe, you get more of what you’ve got. This is the beauty of our feed back loop. </p><p> </p><p>Happy Time GPS is free.</p><p> </p><p>We only ask two things:</p><ol><li>If you find the app helpful on your journey, pass it on to others.</li><li>From time to time, please make a contribution of any amount as a sign of your appreciation to help us keep Happy Time GPS free.</li></ol><p>When you share and appreciate, you raise your vibration because, on earth, giving is receiving.</p><p> </p><p>Our mission is to spread happiness around the world.</p><p><br>Happiness comes from many places, but the one place you can always count on is from making progress at anything that is important to you. When you focus your attention on your dreams and desires, you will naturally take steps to make progress. Making progress always feels good. Feeling good is feeling happy. Happiness is contagious.</p><p> </p><p>We hope you will join us on our mission by creating the life of your wildest dreams and spread happiness along the way.</p><p><br>You may choose to start with any of the six thought practices you like, but I suggest you start with thinking about who you are in your Wildest Dreams.</p><p> </p><p>Just follow the steps in the app and enjoy your journey!</p><p> </p><p>Warm regards,</p><p> </p><p><a href=\"https://bighappy.pehoy.com/\"><img src=\"https://bighappy.pehoy.com/storage/profile-picture/intro-profile.png\"></a></p>",
"categories": [
{
"id": 25,
"title": "Completed",
"sub_title": "Completed",
"description": "<p>abc</p>",
"sub_description": "",
"is_active": 1,
"created_at": null,
"updated_at": "2024-04-17T14:02:44.000000Z",
"deleted_at": null,
"can_hide": 0,
"single_answer": 0,
"image": null,
"view_type": null,
"view_example": "",
"sort_id": 15,
"category_image": "https://bighappy.pehoy.com/img/png/no-image.png",
"subcategories": []
},
{
"id": 12,
"title": "Notes",
"sub_title": "Notes to self",
"description": "<p>The notes you create in your <strong>Desires</strong> and <strong>Challenges</strong> will all appear here so you can view them all in one place.</p>",
"sub_description": "",
"is_active": 1,
"created_at": "2023-10-04T08:59:57.000000Z",
"updated_at": "2024-03-05T07:53:22.000000Z",
"deleted_at": null,
"can_hide": 0,
"single_answer": 0,
"image": "2caa528fdb2388e070a79674747cb510-orig-1697538283.jpg",
"view_type": 5,
"view_example": "",
"sort_id": 14,
"category_image": "https://bighappy.pehoy.com/storage/category/12/2caa528fdb2388e070a79674747cb510-md-1697538283.webp",
"subcategories": []
},
{
"id": 11,
"title": "Challenge Me",
"sub_title": "Challenge Me",
"description": "<p>Challenge yourself to create your future you by living it in the present...</p>",
"sub_description": "<p>Challenge yourself to create your future you by living it in the present. As you challenge yourself to do new things, learn new skills, refine your natural talents, or complete missions and tasks, you are <strong>being</strong> the person you desire to become. </p><p> </p><p>You can make progress and feel good daily with challenges big and small.</p><p> </p><p>When you remember that you will encounter obstacles and setbacks along the way and that they are part of the process, it becomes easier to overcome them. As you take steps to overcome set backs you feel good and it becomes easier to overcome them. As this becomes your pattern, you gladly take on more challenges. As you do, you are creating your future you by living it in the present. </p><p> </p><p>When you are ready to take a quantum leap in your progress you can use a challenge to guide you. Taking a quantum leap is like jumping through space and time to get you where you want to go faster. To take a quantum leap requires radical thought and behavioral change. </p><p> </p><p>From completely changing your diet, to how you dress, to the time you get up to the thoughts you think. Whatever it is, it has to be radically different from your current pattern. For a quantum leap to occur you have to shock your system with radical change for a period of time to activate it. The period of time is different for everyone but it takes weeks to months not days to activate it. Once its activated you will begin an entirely new chapter in your life experience because your radical change is updating your patterns by updating your subconscious mind and nervous system with new beliefs, thoughts and behavior. You can use the “my intensions” for my habits and my desires feature within the challenge to set and track your progress daily. </p><p>It may be best to use the app for a few months before attempting a quantum leap. But feel free to try it at anytime.</p>",
"is_active": 1,
"created_at": "2023-08-09T12:16:40.000000Z",
"updated_at": "2024-06-12T13:47:48.000000Z",
"deleted_at": null,
"can_hide": 0,
"single_answer": 0,
"image": "img_challenge-md-orig-1713725400.png",
"view_type": 3,
"view_example": "",
"sort_id": 13,
"category_image": "https://bighappy.pehoy.com/storage/category/11/img_challenge-md-md-1713725400.webp",
"subcategories": []
},
{
"id": 10,
"title": "Talk-To-Me",
"sub_title": "Talk to Me",
"description": "<p>Feed yourself wise words to recondition your self-talk so you can become your own biggest fan and supporter...</p>",
"sub_description": "<p>Reconditioning your self talk is the single most important thing you can do to get on course and stay on course creating the life you desire. Your self talk has been programed into your subconscious mind throughout your life time. Mostly when you were very young. You can change the programing at anytime you like but it does require your focus and attention. </p><p> </p><p>We have created a library of quotes from histories great philosophers and affirmation you can choose from to create your own library of wise words to feed your self daily. Repeating these wise words can be very powerful as you feed your mind to recondition your self-talk to become your own biggest fan and supporter. </p><p> </p><p>When you read or listen to them daily they will take root in your conscious and subconscious mind. Before long you will sound like a philosopher quoting them to your friends and family. </p><p> </p><p>Choosing to think positive and optimistic thoughts about yourself right now will change how you experience your life instantly. </p><p> </p><p>Invoking the power of I am is invoking your birth right as a human to create the life you desire to experience.</p><p> </p><p>Always remember that you are not your thoughts, you get to choose your thoughts. They are free. As you learn to remember to <strong>choose</strong> your thoughts you are using your free will.</p><p> </p><p><i>It’s with your free will that you get to </i><strong>choose</strong><i> your thoughts to create your life. Your free will is only limited by the natural laws of the universe and your current beliefs and perceptions. </i></p><p> </p><p><i>The more you practice using your free will to </i><strong>choose</strong><i> to think positive and optimistic thoughts about your life and desires, the stronger your free will becomes. It works like a muscle; as you strengthen it through practice, you develop muscle memory. The muscle memory creates an automatic feedback loop that guides you to think positive and optimistic thoughts throughout your day. </i></p><p> </p><p><i>Training your free will to automatically</i><strong> choose</strong><i> to think positive and optimistic thoughts is one of life’s beautiful paradoxes.</i></p><p> </p><p><i>By saturating your mind with positive and optimistic thoughts you spontaneously speak kind words and perform good deeds. When this becomes your natural state, you live with an elevated vibrational frequency. The higher your vibrational frequency the better you feel. The better you feel the easier it becomes to </i><strong>choose</strong><i> to think positive and optimistic thoughts. This is how you create a positive feedback loop that makes life feel like a magic carpet ride. </i></p><p> </p><p><i>As you become good at </i><strong>choosing</strong><i> your thoughts, you expand the pool of thoughts from which you can </i><strong>choose</strong><i>. As you expand your pool of thoughts you expand your perceptions and create new beliefs. Your perceptions and beliefs define your current state of consciousness. </i></p><p> </p><p><i>As you witness your ability to</i><strong> choose</strong><i> your thoughts to create your life you become aware of how powerful you are. As you become aware of how powerful you are, your beliefs and perceptions naturally expand to allow you to </i><strong>choose</strong><i> to think thoughts you didn’t know existed.</i></p><p> </p><p><i>A thought is a little seed that loves to grow. The more you think it, the more it grows. It can be the seed of a mighty oak that can grow for hundreds of years and be seen for miles off the coast or weeds that take over your garden in just a few days. It’s up to you to choose what seeds of thought you plant. </i></p><p> </p><p><i>As you take time to imagine and write down your thoughts about who you wish to be right now and what you wish to create and experience you are planting the seeds of your desires.</i></p><p> </p><p><i>As you CARE FOR YOUR SEEDS by shinning positive thoughts on them daily and take aligned action steps, they grow. Within a few weeks they begin to inform your silent partner that this experience is real. As your silent partner gets the message, he/she/thee begins to believe you and the conflict between what you want and what you believed in the past fades away.</i></p><p> </p><p><i>Your silent partner is your most loyal friend and supporter that only wants to please you. Your silent partner is your subconscious mind. It’s up to you to let your silent partner know what you truly want by creating a crystal-clear vision for the life you desire. </i></p><p><i>When you have a crystal-clear vision and keep it top of mind, your awareness rises to allow your silent partner to synch up with your vision for your life. </i></p><p> </p><p><i>When your automatic thinking and behavior reflects your vision, you get out of your own way by reducing conflicting thoughts and behaviors that lead to doubt and fear. </i></p><p> </p><p><i>Reducing conflicting thoughts and behaviors is how you increase faith and courage to create the life you desire.</i></p><p> </p><p><i>When you reduce doubt you increase faith because we live in a universe of polarity. Faith and doubt are by nature the same emotion but on opposite ends of a vibrational spectrum. Reduce one and the other increases. There are no exceptions in our polar universe. It’s the same with everything. Hot and cold, courage and fear, hard and soft, love and hate, faith and doubt…</i></p><p><i>Our beautiful universe is holographic and reflects what you put out in your thoughts and feelings through the life you experience. It’s the ultimate feedback loop. It’s a brilliant design. Once you understand this by experiencing it, you will feel faith in knowing that it’s up to you to choose your thoughts and take aligned action steps to create your life. </i></p><p><i>All you have to remember is; you are not your thoughts, you get to choose your thoughts. They are free. </i></p><p> </p><p>It's helpful to know that studies have shown that most people have a natural flow of 60-70,000 thoughts every day. And that they are mostly the same thoughts day after day, with the vast majority of these thoughts being negatively biased. The good news is that since the vast majority of your thoughts are the same thoughts day after day, then all you have to do is become good at <strong>choosing</strong> and thinking new thoughts. The new thoughts will soon replace the old thoughts. This happens because the thoughts you think multiply and produce similar thoughts. With a little focus and daily practice the thoughts you want to think will become your dominate thoughts that spontaneously flow all day.</p><p> </p><p>You think the thoughts you think because you have been conditioned to think them, there really is no other reason. You have <strong>chosen</strong> some of your thoughts throughout your lifetime. Others were formed by life’s experiences and education, and many were chosen for you when you were very young. </p><p> From age zero to seven you are in a theta like brain wave state. Theta is the brain wave that is used for hypnosis. During these formative years we absorbed like a sponge the information we observed by watching and listening to our parents, care givers, teachers and friends. This information (right or wrong, good or bad) gets imported directly into our subconscious mind and becomes a belief. Our beliefs become our automatic thought generators. These thoughts create an attitude and behaviors to match. We live with this belief and matching attitude and behavior the rest of our lives until we create new beliefs that create new attitudes and behaviors. </p><p> </p><p>When you realize you believe something, ask yourself; why do I believe this? If it’s not in alignment with your vision for your life, let it go by <strong>choosing</strong> a new thought to create a new belief. A belief is just a thought you keep on thinking, a belief is just a thought you keep on thinking, a belief is just a thought you keep on thinking… </p><p> </p><p>When you remember that you are not your thoughts and that you get to<strong> choose</strong> your thoughts, you are activating and strengthening your free will. Your free will is your power to create your life.</p><p> </p><p>Your free will is only accessible to you in the present moment, because only in the preset moment can you<strong> choose</strong> your thoughts. Choose thoughts in the present moment that represent who you wish to be right now. Let the thoughts about who you were yesterday go if they are not in alignment with the you, you are creating. </p><p> </p><p>It’s with your free will that you get to <strong>choose</strong> your thoughts to imagine, feel and create your vision for your life. But it’s your automatic thinking, your silent partner that will do much of the heavy lifting to bring your vision to life. </p><p> </p><p>Conditioning your automatic thinking and behaviors to reflect your vision for your life is how you create the life you dream of. There is no other way. </p><p>For example: You walk into a cafe to get a quick cup of coffee, you smell chocolate chip cookies, you are immediately taken in by memories of how good they smell and taste. Your immediate reaction is to want one. But then because you have a clear vision for how good you look and feel because you cut back on sweets, your vision surfaces and you become aware of how the act of eating the cookie will make you feel. Then you get to decide… are you going to repeat your past in a blur and eat the chocolate chip cookie or use your free will to <strong>choose</strong> to experience living your vision for your life? </p><p> The <strong>choice </strong>you make creates a feeling. The feeling will either propel you in the direction you want to go or set you back. Without a clear vision for the you, you are creating, you will eat the chocolate chip cookie in a blur almost every time. </p><p> </p><p>The <strong>choice</strong> you make about the cookies in that moment will inform your silent partner as to what you truly want. Make the <strong>choice</strong> that aligns with your vision a 3-5 times times and your silent partner will get the message and will re-act on your behalf in the future. </p><p> </p><p>If you eat the cookies, be sure to enjoy them :-) Feeling bad doesn’t help. Just brush yourself off and try again. When you feel the urge to give in, just remember you only have to get through it 3-5 times to forge a new path. Just keep trying and you will align your attitude and behavior. Once they are aligned your beliefs will follow.</p><p> </p><p>From a scientific perspective, when you make what at first feels to be the hard <strong>choice</strong> of not eating the cookies, you increase the size of your anterior midcingulate cortex in your brain. This is where your willpower, tenacity and grit are produced. It's like doing a rep at the gym; the more often you consciously make the <strong>choice</strong> that aligns with your vision, the easier it gets to make that <strong>choice</strong>. It’s a self-fulfilling prophecy. </p><p> </p><p>While growing your will power you are also creating a new thought pathway in your brain that makes it easier for you to <strong>choose</strong> thoughts and take actions that align with your vision. </p><p> </p><p>When you think a thought with focus and emotion, which can be enhanced by adding action, your brain release acetylcholine. Acetylcholine is a neurotransmitter which “marks” your brain to remember a thought pathway to make it easier to return to it. It’s like a signpost that says- not that way - this way to your desires. </p><p> </p><p>As you consciously <strong>choose</strong> your thoughts and take aligned action steps, the thought pathway that leads to the action begins to get paved and becomes your new preferred route. With repetition this thought, and behavior naturally forms into a superhighway in your brain and becomes a habit. As you create new thought pathways, the old ones begin to dry up like a stream that has been rerouted.</p><p> </p><p>Your thoughts are your GPS. They guide you where you go in life. It is up to you to decide where you want to go by <strong>choosing</strong> your thoughts in real time. You can change course at any time by simply taking a deep breath and <strong>choosing</strong> a new thought.</p><p> </p><p>Happy Time GPS has six practices that build on each other as you do them. As you follow the steps in the app you are planting the seeds of your desires. </p><p> </p><p>The app will <i>re-mind</i> you to take time to care for your desires by shining your focus on them to imagine, evolve and write down and update your vision and intensions to bring your desires to life.</p><p> </p><p>With a little daily practice you will become very good at <strong>choosing</strong> your thoughts in real time as the life you are creating unfolds.</p>",
"is_active": 1,
"created_at": "2023-08-09T12:16:07.000000Z",
"updated_at": "2024-06-12T13:47:17.000000Z",
"deleted_at": null,
"can_hide": 0,
"single_answer": 0,
"image": null,
"view_type": 4,
"view_example": "",
"sort_id": 12,
"category_image": "https://bighappy.pehoy.com/img/png/no-image.png",
"subcategories": []
},
{
"id": 6,
"title": "Love Factory",
"sub_title": "Love Factory",
"description": "<p>Turn on your love factory every morning to set the tone to live the life of your wildest dreams.</p>",
"sub_description": "<p>Learning to raise your vibration at will, will serve you well throughout your life. Its like tilling the soil in your garden to create a fertile environment to plant the seeds of your desires. With fertile soil your seeds abundantly sprout to life. With toxic soil you are lucky if you get weeds.</p><p> </p><p>The sum total of your thoughts, feelings and actions at any moment generate your vibration. You are in full control. Nourish your vibration by thinking positive and optimistic thoughts and taking compassionate acts and your vibration will rise and the seeds of your desires will sprout to life. </p><p> </p><p>When you have a high vibration you naturally have an open mind and release attachments. The people and circumstances to co create your vision for your life will come together in ways you would not have imagined. </p><p> </p><p>The universe communicates through vibrational frequency. You perceive that a flower is a certain color because the flower puts out the vibration of that color for you to perceive.</p><p> </p><p>Humans put out their vibration through the thoughts they think and the emotions they feel to be perceived by the world at large. Through your vibration you resonate with others to co-create your life. </p><p> </p><p>Happy Time GPS offers three easy practices you can do daily to raise your vibration at will. Learning to raise your vibration at will is how you become a master of the universe. The worlds greatest creators from the beginning of our civilization learned to raise their vibration at will by controlling their emotions. They understood that if they could master their emotions they would become masters of their universe. </p><p> </p><p>They understood that the universe is polar and that everything has a polar opposite. Hot/ cold, nice/mean, faith/doubt. Each of these are exactly the same thing but just on varying degrees of their vibrational spectrum. </p><p>You have the power to adjust your emotions along the spectrum from doubt to faith or fear to courage or angry to kind, etc.. by raising your vibration through using your free will to choose your thoughts and actions. </p><p> </p><p>The placebo effect shows us how powerful our beliefs and emotions can be. Take a sugar pill and believe it is going to cure you and it does. </p><p> </p><p>All great leaders and creators that have walked the earth have learned to master life by transmuting their emotions to raise and sustain their vibration. </p><p> </p><p>Happy Time GPS’s will guide you to raise your vibration at will through three simple practices that allow you to become the master of your universe. </p>",
"is_active": 1,
"created_at": "2023-10-04T08:55:03.000000Z",
"updated_at": "2024-09-12T14:35:19.000000Z",
"deleted_at": null,
"can_hide": 0,
"single_answer": 0,
"image": "img_my_vibration-orig-1697545165.png",
"view_type": 3,
"view_example": "",
"sort_id": 8,
"category_image": "https://bighappy.pehoy.com/storage/category/6/img_my_vibration-md-1697545165.webp",
"subcategories": [
{
"id": 1,
"category_id": 6,
"name": "Gratitude",
"is_active": 1,
"main_category_id": 7,
"data": null,
"sub_title": "Good Morning \\n\\n New Day!",
"description": "<p>Practicing gratitude makes you feel good because when you are grateful for what you have in the moment you do not lack. When you do not lack you are abundant. </p>",
"sub_description": "<p>category sub description4</p>"
},
{
"id": 2,
"category_id": 6,
"name": "Appreciation",
"is_active": 1,
"main_category_id": 8,
"data": null,
"sub_title": "Appreciate the small Things",
"description": "<p>When you practice appreciating the small things in life you are tuning your vibration to a higher positive setting and it makes you feel good. This works because as you appreciate something you are looking for the positive. When you look for the positive you will see it and feel it. </p>",
"sub_description": "<p>category sub description5</p>"
},
{
"id": 3,
"category_id": 6,
"name": "Kindness",
"is_active": 1,
"main_category_id": 9,
"data": null,
"sub_title": "Kindness",
"description": "<p>When you practice kindness through the act of giving of yourself to another without expectation; whether it’s through the gesture of a genuine smile or giving of your time or resources to help another, you are being compassionate. Your act of kindness will make the recipient feel good and you will feel good too. This happens because the universe is reflective and always returns what you put out in your thoughts and feelings.</p>",
"sub_description": "<p>category sub description6</p>"
}
]
},
{
"id": 5,
"title": "My Intentions",
"sub_title": "My Intentions",
"description": "<p>When you write down what you are going to do and when you are going to do it, you are 91% likely to get it done.</p>",
"sub_description": "<p><strong>Today I intend to…</strong></p><p> </p><p>Studies have shown that when you write down your intentions and include a time and place for them to occur you are 91% likely to do them. </p><p> </p><p>The power of intention in mystical traditions highlights the belief in the interconnectedness of thought, energy, and matter. Setting intentions is not just about wishing for something; it’s about consciously choosing thoughts that shape your actions and reality.</p><p> </p><p>Inside the app we provide an easy way to activate your intensions for your desires and for creating new habits. These are very powerful tools for creating your life. Use them to immediate effect.</p>",
"is_active": 1,
"created_at": "2023-08-09T12:09:54.000000Z",
"updated_at": "2024-06-12T13:44:50.000000Z",
"deleted_at": null,
"can_hide": 0,
"single_answer": 0,
"image": "img_action-orig-1699030729.png",
"view_type": 4,
"view_example": "",
"sort_id": 5,
"category_image": "https://bighappy.pehoy.com/storage/category/5/img_action-md-1699030729.webp",
"subcategories": [
{
"id": 4,
"category_id": 5,
"name": "Intentions For My Day",
"is_active": 1,
"main_category_id": 13,
"data": "data",
"sub_title": "Intentions For My Day",
"description": "<p>When you write down what you are going to do and when you are going to do it, you are 91% likely to get it done.</p>",
"sub_description": "<p>By simply writing down the steps you would like to take on a given day to head in the direction of bringing your desire to life you are making progress. It won’t take long for you to apply action to take the steps, big and small, you have written down. As you do them, you are making progress. Making progress always feels good. Feeling good makes it easier to keep making progress. Feeling good primes your pump of positive thoughts and actions to get your feed back loop of creation flowing.</p><p> </p><p>You can mark the items on your list off as you complete them and move them forward to another day to do them, or do them again. You can scroll through the previous days intensions to see your progress. It will become obvious to you why something is or is not happening as you scroll your list of completed and non-completed items by day. </p>"
},
{
"id": 5,
"category_id": 5,
"name": "Intentions For My Habits",
"is_active": 1,
"main_category_id": 14,
"data": "Write down the everyday habits you want to have to create the life you imagine living...",
"sub_title": "Intentions For My Habits",
"description": "<p>Using the power of intention to create patterns of energy that shape who you are, is very powerful. Put it to work! </p>",
"sub_description": "<p>Write down the habits you would like to have. Our habits make us who we are. When you write down the habits you wish to have and refer your list often, you will begin to do them automatically and your life will begin to transform quickly. There is no faster way to put you on your path creating the life you desire. Habits are one of the greatest gifts we were given. Don’t squander this power, use it to create the life you dream of. </p><p> </p><p>Make your list of habits and check them off each day as you do them. As you mark them done you will feel good, which makes it easier to keep doing them. Every morning you will get a fresh blank list to start again. It wont take long for your auto pilot mode to kick in and take over doing these things for you everyday.</p>"
}
]
},
{
"id": 4,
"title": "My Desire",
"sub_title": "My Desire",
"description": "<p>Your I am… and I love… are desires that are chapters in your life. Look inside yourself to bring these desires to life.</p>",
"sub_description": "<p>Desires are the seed of your creation. Your desires may be your ally or your enemy. Choose the seeds you plant and nourish wisely.</p><p> </p><p>Your desires are your allies when they come from looking within. When you desire something from your core you are able to release attachment to the fruits of your labor because you are creating out of love. When you create from love your desires will flourish. </p><p> </p><p>When your desires come from outside of yourself they can become your enemy that doesn’t allow you to feel peace and joy or give you the vigor and attract the intelligence you need to bring them to life. </p><p> </p><p>When you feel peace and joy you feel good. Feeling good is feeling happy. Studies have shown that happiness is contagious by three degrees. Happy people draw the people and circumstances to them to co-create their lives. </p><p>When you believe you desire something, ask yourself… Why do I desire this? Is it from the core of who I am ? or is it a fleeting desire? Both are part of experiencing your life. Try to know which it is as you begin your journey to morph your desire into your reality. </p><p> </p><p>If you are going to use your precious time and attention to create, choose something you love. Discovering what you love to do, even if its not your day job, can make the journey of life fun and keep you on your path. It’s the joy of the journey that separates the successes in our lives from the failures. It is never too late to choose to do something that makes you feel good. </p><p>Often you will come to know what you want as you experience what you do not want. </p><p> </p><p>Plant the seeds of your desire by imagining something you want to have, create or experience. Close your eyes and open your mind. Think about when you were very young and could ride a broom stick and imagine it is a horse you were riding along an endless beach. Let your imagination flow and dream up what you truly desire. It can be something big or small so long as it makes you feel good when you think about it. </p><p> </p><p>As you take time to imagine and write down your thoughts about who you wish to be and what you wish to create and experience you are planting your seeds. </p><p> </p><p>Thoughts start as little seeds that love to grow. The more you think them, the more they grow. They can be the seed of a mighty oak that can grow for hundreds of years and be seen for miles off the coast or weeds that take over your garden in just a few days. It’s up to you to choose which seeds of thought you plant.</p><p> </p><p>As you nourish your seeds by shining your attention on them with positive thoughts and aligned actions their roots begin to take hold and the seeds begin to sprout. As they sprout they inform your silent partner that this experience is real. As your silent partner gets the message he/she/thee begins to believe you and the conflict between what you want and what you believed in the past fades away. </p><p> </p><p>Your silent partner is your most loyal friend and supporter that only wants to please you. Your silent partner is your subconscious mind. It’s up to you to let your silent partner know what you truly want by creating a crystal clear vision for your life.</p><p> </p><p>When you have a crystal clear vision and keep it top of mind, your awareness rises to allow your silent partner to synch up with your vision for your life. </p><p>Training your conscious and subconscious mind to think positive and optimistic thoughts throughout your day, is like tilling your soil to create a fertile environment for your seeds to grow. Plant your seeds in fertile soil and they thrive, plant them in toxic soil and you are lucky if you get weeds. Creating a fertile environment is essential to the creation process. </p><p>Happy Time GPS will walk you through three fun exercises to help you develop a positive thought feed back loop to get your stream of positive thoughts flowing all day long. See the <i>“my vibration\"</i> tab to develop a positive feed back loop. </p><p> </p><p>When your positive thoughts align with your vision you get out of your own way by reducing conflicting thoughts and behaviors that lead to feeling doubt and fear.</p><p> </p><p>This greatly reduces the time required to manifest anything because you get out of your own way. Going from faith to doubt or confident to fearful is like hitting the breaks. The more time you spend in a positive state of mind the more time you spend in a state of faith and confidence which allows you to resonate with co-creators and build momentum.</p><p> </p><p>If there is just one thing you need to know to create the life of your dreams this is it: synch up your inner talk with your vision through a positive state of mind to reduce conflicting thoughts and behavior and the universe will take care of the rest. </p><p> </p><p>This works because, the universe is holographic and reflects what you put out in your thoughts and feelings through the life you experience. It’s the ultimate feedback loop. It’s a brilliant design. Once you understand this by experiencing it, you will know that it’s up to you to choose your thoughts and take aligned actions to create your life. You are only limited by the laws of the universe and your current perceptions and beliefs. </p><p> </p><p>Your thoughts are your GPS. They have been guiding you your entire life. It is up to you to decide where you want to go by using your free will to <strong>choose your thoughts to choose your life </strong>in real time. </p><p> </p><p>As you begin this journey it is helpful to know that studies have shown that most people have a natural flow of 60-70,000 thoughts every day. And the vast majority of them are the same thoughts day after day, with a negative bias. The good news is that since the vast majority of your thoughts are the same thoughts day after day, then all you have to do is become good at <strong>choosing</strong> and thinking a new set of thoughts. The new thoughts will soon replace the old thoughts. This happens because the thoughts you think multiply and produce similar thoughts. With a little focus and daily practice the thoughts you want to think will naturally become the thoughts that spontaneously flow all day.</p><p> </p><p>You think the thoughts you think because you have been conditioned to think them, there really is no other reason. You have <strong>chosen</strong> some of your thoughts throughout your lifetime. Others were formed by life’s experiences and education, and many were <strong>chosen </strong>for you when you were very young. </p><p> From age zero to seven you are in a theta like brain wave state. Theta is the brain wave that is used for hypnosis. During these formative years we absorbed like a sponge the information we observed by watching and listening to our parents, care givers, teachers and friends. This information (right or wrong, good or bad) gets imported directly into our subconscious mind and becomes a belief. Our beliefs become our automatic thought generators. These thoughts create an attitude and behaviors to match. We live with this belief and matching attitude and behavior the rest of our lives until we create new beliefs that create new attitudes and behaviors. </p><p> </p><p>When you realize you believe something, ask yourself; why do I believe this? If it’s not in alignment with your vision for your life, let it go by <strong>choosing</strong> a new thought to create a new belief. A belief is just a thought you keep on thinking, a belief is just a thought you keep on thinking, a belief is just a thought you keep on thinking… </p><p> </p><p>When you remember that you are not your thoughts and that you get to<strong> choose</strong> your thoughts, you are activating and strengthening your free will. Your free will is your power to create your life.</p><p> </p><p>Conditioning your automatic thinking and behaviors to reflect your vision for your life is how you create the life you dream of. There is no other way. </p><p>For example: You walk into a cafe to get a quick cup of coffee, you smell chocolate chip cookies, you are immediately taken in by memories of how good they smell and taste. Your immediate reaction is to want one. But then because you have a clear vision for how good you look and feel because you cut back on sweets, your vision surfaces and you become aware of how the act of eating the cookie will make you feel. Then you get to decide… are you going to repeat your past in a blur and eat the chocolate chip cookie or use your free will to <strong>choose</strong> to experience living your vision for your life? </p><p> The <strong>choice </strong>you make creates a feeling. The feeling will either propel you in the direction you want to go or set you back. Without a clear vision for the you, you are creating, you will eat the chocolate chip cookie in a blur almost every time. </p><p> </p><p>The <strong>choice</strong> you make about the cookies in that moment will inform your silent partner as to what you truly want. Make the <strong>choice</strong> that aligns with your vision a few times times and your silent partner will get the message and become aware of what you truly want. It’s through awareness that your behavior begins to align with your vision.</p><p> </p><p>If you eat the cookies, be sure to enjoy them :-) Feeling bad doesn’t help. Just brush yourself off and try again.</p><p> </p><p>From a scientific perspective, when you make what at first feels to be the hard <strong>choice</strong> of not eating the cookies, you increase the size of your anterior midcingulate cortex in your brain. This is where your willpower, tenacity and grit are produced. It's like doing a rep at the gym; the more often you consciously make the <strong>choice</strong> that aligns with your vision, the easier it gets to make that <strong>choice</strong>. It’s a self-fulfilling prophecy. </p><p> </p><p>While growing your will power you are also creating a new thought pathway in your brain that makes it easier for you to <strong>choose</strong> thoughts and take actions that align with your vision. </p><p> </p><p>When you think a thought with focus and emotion, which can be enhanced by adding action, your brain release acetylcholine. Acetylcholine is a neurotransmitter which “marks” your brain to remember a thought pathway to make it easier to return to it. It’s like a signpost that says- not that way - this way to your desires. </p><p> </p><p>As you consciously <strong>choose</strong> your thoughts and take aligned action steps, the thought pathway that leads to the action begins to get paved and becomes your new preferred route. With repetition this thought, and behavior naturally forms into a superhighway in your brain and becomes a habit. As you create new thought pathways, the old ones begin to dry up like a stream that has been rerouted.</p><p> </p><p>You are not your thoughts. Your thoughts are your GPS. It is up to you to decide where you want to go by <strong>choosing</strong> your thoughts in real time. You can change course at any time by simply taking a deep breath and <strong>choosing</strong> a new thought.</p><p> </p><p>Happy Time GPS has six practices that build on each other as you do them. As you follow the steps in the app you are planting the seeds of your desires. </p><p> </p><p>The app will <i>re-mind</i> you to take time to care for your seeds of desire by shining positive thoughts on them. As you imagine, write down and evolve your vision and intensions you are bringing your desires to life</p><p> </p><p>With a little daily practice you will become very good at <strong>choosing</strong> your thoughts in real time as you experience your life unfolding.</p><p> </p><p>As you follow the practices in the app which are based on ancient teachings you will create a positive feedback loop that makes it easier to make progress.</p><p> </p><p>Just jot down what comes to mind. You can update it daily as your thoughts and emotions evolve. As you see it in your imagination and feel it in your core and it feels good, you will know you are on the right path. Your feelings are your guidance system.</p><p> </p><p>While it may seem paradoxical; creating a clear vision and at the same time letting go of your attachment to it is one of the keys that opens the door to your manifestations. This works because when you release attachment you remain open minded as to how your vision will come to life. An open mind is a positive mind where a world of possibility exists.</p>",
"is_active": 1,
"created_at": "2023-08-09T12:06:48.000000Z",
"updated_at": "2024-09-12T14:35:07.000000Z",
"deleted_at": null,
"can_hide": 0,
"single_answer": 0,
"image": "desire_static_new-orig-1697544840.png",
"view_type": 3,
"view_example": "<figure class=\"table\"><table><tbody><tr><td><img src=\"https://pehoy.com/profile-note/img/user.png\"></td><td><p>Michal Bruno</p><p>Creator of Happy Time app</p><p><i>Happy Time!</i></p></td></tr></tbody></table></figure>",
"sort_id": 4,
"category_image": "https://bighappy.pehoy.com/storage/category/4/desire_static_new-md-1697544840.webp",
"subcategories": []
},
{
"id": 3,
"title": "My Wildest Dreams",
"sub_title": "My Wildest Dreams",
"description": "<p>In my wildest dreams I am… and I love … </p><p>Fill in the blanks and your journey has begun.</p>",
"sub_description": "<p>You came to earth to have fun! On earth you get to decide who you are and how you experience the world you live in. This is your identity and your paradigm. </p><p> </p><p>You are not your identity, you get to create your identity throughout your life. Your identity is like a costume that you wear. You can change it any time you like. </p><p> </p><p>When you invoke the power of I am and I love as you create your identity and paradigm you can change how you feel in an instant. There is no greater power than I am. When you invoke I am and I love you are using your free will to choose your thoughts to create your life.</p><p> </p><p>The world you experience is your paradigm. It is your mental creation that is formed by your perceptions and beliefs over your life time. If you do not like the world you are experiencing you can change how you experience it by choosing new thoughts about it. When you create a vision for a beautiful world you wish to live in, you begin to experience that world. This happens because when you heighten your awareness of the world you wish to experience you will begin to experience it because, it is already right there waiting for you. </p><p> </p><p>There are exceedingly more beautiful things happening everyday on earth than there are cruel, ugly things but they are not reported in the news. </p><p>Look for beauty and you will find it. The more people that see the world as a beautiful place, the more the world becomes a beautiful place. We all have our part to play. </p><p> </p><p>Training your conscious and subconscious mind to think positive and optimistic thoughts, most of the time, is essential to the creation process. Its essential because, actively cultivating a positive state of mind is like tilling your soil to create a fertile field for your crops to grow in. When you plant the seeds of your desires in fertile soil they thrive. If you plant your seeds in toxic soil you are lucky if you get weeds. </p><p> </p><p>Create your attitude, then let your attitude create you. When you have a positive attitude the universe will conspire with you to bring your dreams to life. This is how it is designed.</p><p> </p><p>When you focus on positive thoughts, negative thoughts recede. Positive thoughts lead to feeling faith and courage, negative thoughts lead to feeling doubt and fear. </p><p> </p><p>This happens because we live in a universe of polarity. Faith and doubt are exactly the same thing but on opposite ends of a vibrational spectrum. Reduce one and the other increases. There are no exceptions.</p><p>It’s like hot and cold, kind and cruel, soft and hard. </p><p> </p><p>By maintaining a positive state of mind you reduce conflicting thoughts and behaviors that lead to doubt and fear. This greatly reduces the time required to manifest anything because you get out of your own way. Going from faith to doubt or confident to fearful is like hitting the breaks. The more time you spend in a positive state of mind the more time you spend in a state of faith and confidence which allows you to resonate with co-creators and build momentum.</p><p> </p><p>Writing down your vision for your identity and your paradigm is a monumental step in creating the life you dream to live. When you write it down and focus on it daily you are updating your inner talk to align with your vision.</p><p> </p><p>If there is just one thing you need to know to create the life of your dreams this is it: synch up your inner talk with your vision through a positive state of mind to reduce conflicting thoughts and behavior and the universe will take care of the rest. </p><p> </p><p>This works because, the universe is holographic and reflects what you put out in your thoughts and feelings through the life you experience. It’s the ultimate feedback loop. It’s a brilliant design. Once you understand this by experiencing it, you will know that it’s up to you to choose your thoughts and take aligned actions to create your life. You are only limited by the laws of the universe and your current perceptions and beliefs. </p><p> </p><p>Your thoughts are your GPS. They have been guiding you your entire life. It is up to you to decide where you want to go by using your free will to <strong>choose your thoughts to choose your life </strong>in real time. </p><p> </p><p>When your conscious and subconscious ( inner talk ) thoughts and daily actions become aligned with your vision you will have developed an attitude that will allow you to resonate with co-creators and generate momentum to do the heavy lifting for you. Momentum can take your ideas and dreams to places you could never take them on your own. </p><p> </p><p>By following the processes in the app you will create a clear vision for the life you desire and identify matching thoughts and actions. By focusing your attention on your vision and taking aligned actions daily your new chosen thoughts will begin to filter into your subconscious mind to generate new self talking patterns which create new beliefs and behaviors.</p><p> </p><p>Only when you know and believe what thoughts and actions you need to think and take can you create the life you desire. </p><p> </p><p>This is how you place your order to the universe. It’s no different than ordering at a restaurant; if you don’t know what you want… how can you be served :-)</p>",
"is_active": 1,
"created_at": "2023-08-09T12:06:17.000000Z",
"updated_at": "2024-09-12T14:49:33.000000Z",
"deleted_at": null,
"can_hide": 0,
"single_answer": 0,
"image": "img_me_and_world-orig-1697538470.png",
"view_type": 4,
"view_example": "dco",
"sort_id": 3,
"category_image": "https://bighappy.pehoy.com/storage/category/3/img_me_and_world-md-1697538470.webp",
"subcategories": []
},
{
"id": 2,
"title": "Home",
"sub_title": "Home",
"description": "<p>Home is where you will find everything you create in Happy Time <i>GPS</i> in one place. </p>",
"sub_description": "",
"is_active": 1,
"created_at": "2023-10-04T08:59:01.000000Z",
"updated_at": "2025-01-02T07:54:06.000000Z",
"deleted_at": null,
"can_hide": 0,
"single_answer": 0,
"image": null,
"view_type": 2,
"view_example": "",
"sort_id": 2,
"category_image": "https://bighappy.pehoy.com/img/png/no-image.png",
"subcategories": []
},
{
"id": 1,
"title": "Good Day!",
"sub_title": "Good a.m.!",
"description": "<p><strong>Combine the 6 steps every day and your dreams will become your life. </strong></p><h2> </h2><p>What time would you like to start focusing on you? </p>",
"sub_description": "",
"is_active": 1,
"created_at": "2023-10-04T08:59:28.000000Z",
"updated_at": "2025-01-25T16:55:51.000000Z",
"deleted_at": null,
"can_hide": 0,
"single_answer": 0,
"image": null,
"view_type": 1,
"view_example": "",
"sort_id": 1,
"category_image": "https://bighappy.pehoy.com/img/png/no-image.png",
"subcategories": []
}
],
"quotes": [
{
"id": 2,
"name": "Albert Einstein",
"author_quotes": [
{
"id": 1,
"author_id": 2,
"quote_text": "Hello test oozier error",
"created_at": "2023-12-22T11:48:15.000000Z",
"updated_at": "2023-12-22T11:48:15.000000Z"
}
]
},
{
"id": 3,
"name": "Aristotle",
"author_quotes": [
{
"id": 2,
"author_id": 3,
"quote_text": "Happiness depends on ourselves. - Aristotle",
"created_at": "2024-03-05T11:27:30.000000Z",
"updated_at": "2024-03-05T11:27:30.000000Z"
}
]
}
],
"affirmation": [
{
"id": 1,
"name": "Optimistic",
"affirmations": [
{
"id": 1,
"affirmation_text": "Today, I am brimming with energy and overflowing with joy.",
"created_at": "2024-03-05T11:34:14.000000Z",
"updated_at": "2024-03-05T11:34:14.000000Z",
"category_id": 1,
"pivot": {
"category_id": 1,
"affirmation_id": 1
}
},
{
"id": 2,
"affirmation_text": "My body is healthy; my mind is brilliant; my soul is tranqui",
"created_at": "2024-03-05T11:36:45.000000Z",
"updated_at": "2024-03-05T11:36:45.000000Z",
"category_id": 1,
"pivot": {
"category_id": 1,
"affirmation_id": 2
}
}
]
},
{
"id": 2,
"name": "Confidence",
"affirmations": [
{
"id": 3,
"affirmation_text": "I have been given endless talents which i begin to utilize today.",
"created_at": "2024-03-05T11:37:43.000000Z",
"updated_at": "2024-03-05T11:37:43.000000Z",
"category_id": 2,
"pivot": {
"category_id": 2,
"affirmation_id": 3
}
},
{
"id": 4,
"affirmation_text": "I possess the qualities needed to be extremely successful.",
"created_at": "2024-03-05T11:38:23.000000Z",
"updated_at": "2024-03-05T11:38:23.000000Z",
"category_id": 2,
"pivot": {
"category_id": 2,
"affirmation_id": 4
}
}
]
}
]
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Intro
List
requires authentication
Get the list of Intro
Example request:
curl --request GET \
--get "https://bighappy.pehoy.com/api/v1/introduction?search=%22%22&per_page=10&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/introduction"
);
const params = {
"search": """",
"per_page": "10",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/introduction';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
'query' => [
'search' => '""',
'per_page' => '10',
'page' => '1',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Add and update the Intro
Example request:
curl --request POST \
"https://bighappy.pehoy.com/api/v1/introduction" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: application/json" \
--data "{
\"text\": \"Text Text\"
}"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/introduction"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "application/json",
};
let body = {
"text": "Text Text"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/introduction';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'application/json',
],
'json' => [
'text' => 'Text Text',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Details
requires authentication
get the details of the Intro
Example request:
curl --request GET \
--get "https://bighappy.pehoy.com/api/v1/introduction/laudantium" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/introduction/laudantium"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/introduction/laudantium';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Notification
GET api/v1/notification
requires authentication
Example request:
curl --request GET \
--get "https://bighappy.pehoy.com/api/v1/notification" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/notification"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/notification';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Add the Notification
Example request:
curl --request POST \
"https://bighappy.pehoy.com/api/v1/notification" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: application/json" \
--data "{
\"title\": \"\",
\"message\": \"\",
\"date\": \"2023\\/11\\/01 12:05\"
}"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/notification"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "application/json",
};
let body = {
"title": "",
"message": "",
"date": "2023\/11\/01 12:05"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/notification';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'application/json',
],
'json' => [
'title' => '',
'message' => '',
'date' => '2023/11/01 12:05',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Option
List
requires authentication
Get the list of category whyHow option
Example request:
curl --request GET \
--get "https://bighappy.pehoy.com/api/v1/option?search=%22%22&per_page=10&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/option"
);
const params = {
"search": """",
"per_page": "10",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/option';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
'query' => [
'search' => '""',
'per_page' => '10',
'page' => '1',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Add and update the category whyhow option
Example request:
curl --request POST \
"https://bighappy.pehoy.com/api/v1/option" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: application/json" \
--data "{
\"name\": \"\",
\"text\": \"\"
}"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/option"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "application/json",
};
let body = {
"name": "",
"text": ""
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/option';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'application/json',
],
'json' => [
'name' => '',
'text' => '',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Details
requires authentication
get the details of the category whyhow option
Example request:
curl --request GET \
--get "https://bighappy.pehoy.com/api/v1/option/facere" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/option/facere"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/option/facere';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Question
List
requires authentication
Get the list of question
Example request:
curl --request GET \
--get "https://bighappy.pehoy.com/api/v1/question?search=%22%22&per_page=10&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/question"
);
const params = {
"search": """",
"per_page": "10",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/question';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
'query' => [
'search' => '""',
'per_page' => '10',
'page' => '1',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Role
List
requires authentication
Get the list of role
Example request:
curl --request GET \
--get "https://bighappy.pehoy.com/api/v1/role?search=%22%22&per_page=10&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/role"
);
const params = {
"search": """",
"per_page": "10",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/role';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
'query' => [
'search' => '""',
'per_page' => '10',
'page' => '1',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Add and update a Role details
Example request:
curl --request POST \
"https://bighappy.pehoy.com/api/v1/role" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: application/json" \
--data "{
\"name\": \"\"
}"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/role"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "application/json",
};
let body = {
"name": ""
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/role';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'application/json',
],
'json' => [
'name' => '',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
details
requires authentication
get the details of the house
Example request:
curl --request GET \
--get "https://bighappy.pehoy.com/api/v1/role/consequatur" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/role/consequatur"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/role/consequatur';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Sub-Category
List
requires authentication
Get the list of sub-category
Example request:
curl --request GET \
--get "https://bighappy.pehoy.com/api/v1/subCategory?search=%22%22&per_page=10&page=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/subCategory"
);
const params = {
"search": """",
"per_page": "10",
"page": "1",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/subCategory';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
'query' => [
'search' => '""',
'per_page' => '10',
'page' => '1',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store
requires authentication
Add and update the sub-category
Example request:
curl --request POST \
"https://bighappy.pehoy.com/api/v1/subCategory" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: application/json" \
--data "{
\"category_id\": \"nobis\",
\"name\": \"Abc\",
\"data\": \"Abc\"
}"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/subCategory"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "application/json",
};
let body = {
"category_id": "nobis",
"name": "Abc",
"data": "Abc"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/subCategory';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'application/json',
],
'json' => [
'category_id' => 'nobis',
'name' => 'Abc',
'data' => 'Abc',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Details
requires authentication
get the details of the sub-category
Example request:
curl --request GET \
--get "https://bighappy.pehoy.com/api/v1/subCategory/id" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/subCategory/id"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/subCategory/id';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete Selected
requires authentication
Delete the sub-categories
Example request:
curl --request DELETE \
"https://bighappy.pehoy.com/api/v1/subCategory/delete" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: application/json" \
--data "{
\"ids\": [
\"et\"
]
}"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/subCategory/delete"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "application/json",
};
let body = {
"ids": [
"et"
]
};
fetch(url, {
method: "DELETE",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/subCategory/delete';
$response = $client->delete(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'application/json',
],
'json' => [
'ids' => [
'et',
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Users
Get Profile Detail
requires authentication
Get details of the Authenticated User
Example request:
curl --request GET \
--get "https://bighappy.pehoy.com/api/v1/auth/profile" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/auth/profile"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/auth/profile';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Change Password
requires authentication
Change password for Authenticated user
Example request:
curl --request POST \
"https://bighappy.pehoy.com/api/v1/auth/change-password" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: application/json" \
--data "{
\"old_password\": \"Bighappy@123$\",
\"password\": \"Test@123\",
\"password_confirmation\": \"Test@123\"
}"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/auth/change-password"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "application/json",
};
let body = {
"old_password": "Bighappy@123$",
"password": "Test@123",
"password_confirmation": "Test@123"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/auth/change-password';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'application/json',
],
'json' => [
'old_password' => 'Bighappy@123$',
'password' => 'Test@123',
'password_confirmation' => 'Test@123',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200, success):
{
"message": "Password Changed successfully."
}
Example response (401, Old password does not match):
{message:"Old password does not match!"}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Manage Personal Profile
requires authentication
Example request:
curl --request POST \
"https://bighappy.pehoy.com/api/v1/auth/change-profile" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: multipart/form-data" \
--form "first_name=John"\
--form "last_name=doe"\
--form "profile_picture=@/tmp/php8RwUk1"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/auth/change-profile"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "multipart/form-data",
};
const body = new FormData();
body.append('first_name', 'John');
body.append('last_name', 'doe');
body.append('profile_picture', document.querySelector('input[name="profile_picture"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/auth/change-profile';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'multipart/form-data',
],
'multipart' => [
[
'name' => 'first_name',
'contents' => 'John'
],
[
'name' => 'last_name',
'contents' => 'doe'
],
[
'name' => 'profile_picture',
'contents' => fopen('/tmp/php8RwUk1', 'r')
],
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Edit Profile
requires authentication
Edit Profile of the Authenticated User
Example request:
curl --request POST \
"https://bighappy.pehoy.com/api/v1/auth/edit-profile" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/auth/edit-profile"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/auth/edit-profile';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Edit Receive Sms Status
requires authentication
Edit Sms Status Of The Authenticated User
Example request:
curl --request POST \
"https://bighappy.pehoy.com/api/v1/auth/update-sms-status" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: application/json" \
--data "{
\"receive_sms\": \"John\"
}"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/auth/update-sms-status"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "application/json",
};
let body = {
"receive_sms": "John"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/auth/update-sms-status';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'application/json',
],
'json' => [
'receive_sms' => 'John',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Edit reminder type
requires authentication
Edit reminder type Of The Authenticated User
Example request:
curl --request POST \
"https://bighappy.pehoy.com/api/v1/auth/reminder-type" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: application/json" \
--data "{
\"general_reminder\": \"On\",
\"Individual_reminder\": \"On\"
}"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/auth/reminder-type"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "application/json",
};
let body = {
"general_reminder": "On",
"Individual_reminder": "On"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/auth/reminder-type';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'application/json',
],
'json' => [
'general_reminder' => 'On',
'Individual_reminder' => 'On',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Save Sms
requires authentication
Save Sms Of The Authenticated User
Example request:
curl --request POST \
"https://bighappy.pehoy.com/api/v1/auth/save-sms" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Accept: application/json" \
--header "device-id: 1234" \
--header "device-type: android/iphone" \
--header "device-token: 123" \
--header "ram: 2" \
--header "rom: 32" \
--header "brand: samsung" \
--header "model: s21" \
--header "app-version: 1" \
--header "is-mobile: true" \
--header "Content-Type: application/json" \
--data "{
\"user_id\": \"\",
\"individual_content\": \"\",
\"individual_reminder\": \"\"
}"
const url = new URL(
"https://bighappy.pehoy.com/api/v1/auth/save-sms"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Accept": "application/json",
"device-id": "1234",
"device-type": "android/iphone",
"device-token": "123",
"ram": "2",
"rom": "32",
"brand": "samsung",
"model": "s21",
"app-version": "1",
"is-mobile": "true",
"Content-Type": "application/json",
};
let body = {
"user_id": "",
"individual_content": "",
"individual_reminder": ""
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$url = 'https://bighappy.pehoy.com/api/v1/auth/save-sms';
$response = $client->post(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
'Accept' => 'application/json',
'device-id' => '1234',
'device-type' => 'android/iphone',
'device-token' => '123',
'ram' => '2',
'rom' => '32',
'brand' => 'samsung',
'model' => 's21',
'app-version' => '1',
'is-mobile' => 'true',
'Content-Type' => 'application/json',
],
'json' => [
'user_id' => '',
'individual_content' => '',
'individual_reminder' => '',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.