NAV -image
bash javascript php

Introduction

JobClass API specification and documentation.

This documentation aims to provide all the information you need to work with our API.

Important: By default the API uses an access token set in the /.env file with the variable APP_API_TOKEN, whose its value need to be added in the header of all the API requests with X-AppApiToken as key. On the other hand, the key X-AppType must not be added to the header... This key is only useful for the included web client and for API documentation.

Base URL

https://jobclass.laraclassifier.local

Authenticating requests

This API is authenticated by sending an Authorization header with the value "Bearer {YOUR_AUTH_TOKEN}".

All authenticated endpoints are marked with a requires authentication badge in the documentation below.

You can retrieve your token by visiting your dashboard and clicking Generate API token.

Authentication

Log in

Example request:

curl -X POST \
    "https://jobclass.laraclassifier.local/api/auth/login" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs" \
    -d '{"login":"user@demosite.com","captcha":"consectetur","password":"123456","captcha_key":"pariatur"}'
const url = new URL(
    "https://jobclass.laraclassifier.local/api/auth/login"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

let body = {
    "login": "user@demosite.com",
    "captcha": "consectetur",
    "password": "123456",
    "captcha_key": "pariatur"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://jobclass.laraclassifier.local/api/auth/login',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'json' => [
            'login' => 'user@demosite.com',
            'captcha' => 'consectetur',
            'password' => '123456',
            'captcha_key' => 'pariatur',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (422):

{
    "success": false,
    "message": "An error occurred while validating the data.",
    "errors": {
        "captcha": [
            "validation.captcha_api"
        ]
    }
}

Request      

POST api/auth/login

Body Parameters

login  string  
The user's login (Can be email address or phone number).

captcha  string  

password  string  
The user's password.

captcha_key  string optional  
Key generated by the CAPTCHA endpoint calling (Required if the CAPTCHA verification is enabled from the Admin panel).

Log out

requires authentication

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/auth/logout/12" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/auth/logout/12"
);

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/auth/logout/12',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

{
    "success": true,
    "message": "You have been logged out. See you soon.",
    "result": null
}

Request      

GET api/auth/logout/{userId}

URL Parameters

userId  integer optional  
The ID of the user to logout.

Forgot password

Example request:

curl -X POST \
    "https://jobclass.laraclassifier.local/api/auth/password/email" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs" \
    -d '{"login":"user@demosite.com","captcha_key":"optio"}'
const url = new URL(
    "https://jobclass.laraclassifier.local/api/auth/password/email"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

let body = {
    "login": "user@demosite.com",
    "captcha_key": "optio"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://jobclass.laraclassifier.local/api/auth/password/email',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'json' => [
            'login' => 'user@demosite.com',
            'captcha_key' => 'optio',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (422):

{
    "success": false,
    "message": "An error occurred while validating the data.",
    "errors": {
        "captcha": [
            "The security code field is required."
        ]
    }
}

Request      

POST api/auth/password/email

Body Parameters

login  string  
The user's login (Can be email address or phone number).

captcha_key  string optional  
Key generated by the CAPTCHA endpoint calling (Required if the CAPTCHA verification is enabled from the Admin panel).

Reset password token

Reset password token verification

Example request:

curl -X POST \
    "https://jobclass.laraclassifier.local/api/auth/password/token" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/auth/password/token"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://jobclass.laraclassifier.local/api/auth/password/token',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (422):

{
    "success": false,
    "message": "The given data was invalid.",
    "result": null,
    "errors": {
        "code": [
            "The code field is required."
        ]
    },
    "error_code": 1
}

Request      

POST api/auth/password/token

Reset password

Example request:

curl -X POST \
    "https://jobclass.laraclassifier.local/api/auth/password/reset" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs" \
    -d '{"login":"john.doe@domain.tld","password":"js!X07$z61hLA","password_confirmation":"js!X07$z61hLA","captcha_key":"est"}'
const url = new URL(
    "https://jobclass.laraclassifier.local/api/auth/password/reset"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

let body = {
    "login": "john.doe@domain.tld",
    "password": "js!X07$z61hLA",
    "password_confirmation": "js!X07$z61hLA",
    "captcha_key": "est"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://jobclass.laraclassifier.local/api/auth/password/reset',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'json' => [
            'login' => 'john.doe@domain.tld',
            'password' => 'js!X07$z61hLA',
            'password_confirmation' => 'js!X07$z61hLA',
            'captcha_key' => 'est',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (422):

{
    "success": false,
    "message": "An error occurred while validating the data.",
    "errors": {
        "captcha": [
            "The security code field is required."
        ]
    }
}

Request      

POST api/auth/password/reset

Body Parameters

login  string  
The user's login (Can be email address or phone number).

password  string  
The user's password.

password_confirmation  string  
The confirmation of the user's password.

captcha_key  string optional  
Key generated by the CAPTCHA endpoint calling (Required if the CAPTCHA verification is enabled from the Admin panel).

Captcha

Get CAPTCHA

Calling this endpoint is mandatory if the captcha is enabled in the Admin panel. Return a JSON data with an 'img' item that contains the captcha image to show and a 'key' item that contains the generated key to send for validation.

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/captcha" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/captcha"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/captcha',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (429):

{
    "success": false,
    "message": "Too Many Requests,Please Slow Down",
    "result": null,
    "error_code": 1
}

Request      

GET api/captcha

Categories

List categories

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/categories?parentId=0&embed=facere" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/categories"
);

let params = {
    "parentId": "0",
    "embed": "facere",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/categories',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'parentId'=> '0',
            'embed'=> 'facere',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

{
    "success": true,
    "message": null,
    "result": {
        "data": [
            {
                "id": 1,
                "parent_id": null,
                "name": "Engineering",
                "slug": "engineering",
                "description": "",
                "picture": "app\/default\/categories\/fa-folder-default.png",
                "icon_class": null,
                "active": "1",
                "lft": "1",
                "rgt": "2",
                "depth": "0",
                "parentClosure": null
            },
            {
                "id": 2,
                "parent_id": null,
                "name": "Financial Services",
                "slug": "financial-services",
                "description": "",
                "picture": "app\/default\/categories\/fa-folder-default.png",
                "icon_class": null,
                "active": "1",
                "lft": "3",
                "rgt": "4",
                "depth": "0",
                "parentClosure": null
            },
            {
                "id": 3,
                "parent_id": null,
                "name": "Banking",
                "slug": "banking",
                "description": "",
                "picture": "app\/default\/categories\/fa-folder-default.png",
                "icon_class": null,
                "active": "1",
                "lft": "5",
                "rgt": "6",
                "depth": "0",
                "parentClosure": null
            },
            {
                "id": 4,
                "parent_id": null,
                "name": "Security & Safety",
                "slug": "security-safety",
                "description": "",
                "picture": "app\/default\/categories\/fa-folder-default.png",
                "icon_class": null,
                "active": "1",
                "lft": "7",
                "rgt": "8",
                "depth": "0",
                "parentClosure": null
            },
            {
                "id": 5,
                "parent_id": null,
                "name": "Training",
                "slug": "training",
                "description": "",
                "picture": "app\/default\/categories\/fa-folder-default.png",
                "icon_class": null,
                "active": "1",
                "lft": "9",
                "rgt": "10",
                "depth": "0",
                "parentClosure": null
            },
            {
                "id": 6,
                "parent_id": null,
                "name": "Public Service",
                "slug": "public-service",
                "description": "",
                "picture": "app\/default\/categories\/fa-folder-default.png",
                "icon_class": null,
                "active": "1",
                "lft": "11",
                "rgt": "12",
                "depth": "0",
                "parentClosure": null
            },
            {
                "id": 7,
                "parent_id": null,
                "name": "Real Estate",
                "slug": "real-estate",
                "description": "",
                "picture": "app\/default\/categories\/fa-folder-default.png",
                "icon_class": null,
                "active": "1",
                "lft": "13",
                "rgt": "14",
                "depth": "0",
                "parentClosure": null
            },
            {
                "id": 8,
                "parent_id": null,
                "name": "Independent & Freelance",
                "slug": "independent-freelance",
                "description": "",
                "picture": "app\/default\/categories\/fa-folder-default.png",
                "icon_class": null,
                "active": "1",
                "lft": "15",
                "rgt": "16",
                "depth": "0",
                "parentClosure": null
            },
            {
                "id": 9,
                "parent_id": null,
                "name": "IT & Telecoms",
                "slug": "it-telecoms",
                "description": "",
                "picture": "app\/default\/categories\/fa-folder-default.png",
                "icon_class": null,
                "active": "1",
                "lft": "17",
                "rgt": "18",
                "depth": "0",
                "parentClosure": null
            },
            {
                "id": 10,
                "parent_id": null,
                "name": "Marketing & Communication",
                "slug": "marketing-communication",
                "description": "",
                "picture": "app\/default\/categories\/fa-folder-default.png",
                "icon_class": null,
                "active": "1",
                "lft": "19",
                "rgt": "20",
                "depth": "0",
                "parentClosure": null
            },
            {
                "id": 11,
                "parent_id": null,
                "name": "Babysitting & Nanny Work",
                "slug": "babysitting-nanny-work",
                "description": "",
                "picture": "app\/default\/categories\/fa-folder-default.png",
                "icon_class": null,
                "active": "1",
                "lft": "21",
                "rgt": "22",
                "depth": "0",
                "parentClosure": null
            },
            {
                "id": 12,
                "parent_id": null,
                "name": "Human Resources",
                "slug": "human-resources",
                "description": "",
                "picture": "app\/default\/categories\/fa-folder-default.png",
                "icon_class": null,
                "active": "1",
                "lft": "23",
                "rgt": "24",
                "depth": "0",
                "parentClosure": null
            },
            {
                "id": 13,
                "parent_id": null,
                "name": "Medical & Healthcare",
                "slug": "medical-healthcare",
                "description": "",
                "picture": "app\/default\/categories\/fa-folder-default.png",
                "icon_class": null,
                "active": "1",
                "lft": "25",
                "rgt": "26",
                "depth": "0",
                "parentClosure": null
            },
            {
                "id": 14,
                "parent_id": null,
                "name": "Tourism & Restaurants",
                "slug": "tourism-restaurants",
                "description": "",
                "picture": "app\/default\/categories\/fa-folder-default.png",
                "icon_class": null,
                "active": "1",
                "lft": "27",
                "rgt": "28",
                "depth": "0",
                "parentClosure": null
            },
            {
                "id": 15,
                "parent_id": null,
                "name": "Transportation & Logistics",
                "slug": "transportation-logistics",
                "description": "",
                "picture": "app\/default\/categories\/fa-folder-default.png",
                "icon_class": null,
                "active": "1",
                "lft": "29",
                "rgt": "30",
                "depth": "0",
                "parentClosure": null
            }
        ]
    }
}

Request      

GET api/categories

Query Parameters

parentId  integer optional  
The ID of the parent category of the sub categories to retrieve.

embed  string optional  
The Comma-separated list of the category relationships for Eager Loading. Possible values: parent,children

Get category

Get category by it's unique slug or ID.

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/categories/vitae?parentCatSlug=car" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/categories/vitae"
);

let params = {
    "parentCatSlug": "car",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/categories/vitae',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'parentCatSlug'=> 'car',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

{
    "success": true,
    "message": null,
    "result": []
}

Request      

GET api/categories/{slugOrId}

URL Parameters

slugOrId  string optional  
The slug or ID of the category.

Query Parameters

parentCatSlug  string optional  
The slug of the parent category to retrieve used when category's slug provided instead of ID.

Companies

List companies

requires authentication

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/companies?sort=ipsum" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/companies"
);

let params = {
    "sort": "ipsum",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/companies',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'sort'=> 'ipsum',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

{
    "success": true,
    "message": null,
    "result": {
        "data": [
            {
                "id": 683,
                "user_id": "1",
                "name": "MISSION IMPOSSIBLE",
                "logo": "files\/us\/683\/3c69eac8aacff148e52e025c675100e2.jpg",
                "description": "Do you have a post to be filled within your company? Find the right candidate in a few clicks at JobClass.",
                "country_code": "US",
                "city_id": null,
                "address": null,
                "phone": "",
                "fax": null,
                "email": null,
                "website": null,
                "facebook": null,
                "twitter": null,
                "linkedin": null,
                "pinterest": null
            },
            {
                "id": 682,
                "user_id": "1",
                "name": "LOLA LAND",
                "logo": "files\/us\/682\/a9df8b8e75140f5ec9aade4702333313.png",
                "description": "Do you have a post to be filled within your company? Find the right candidate in a few clicks at JobClass.",
                "country_code": "US",
                "city_id": null,
                "address": null,
                "phone": "",
                "fax": null,
                "email": null,
                "website": null,
                "facebook": null,
                "twitter": null,
                "linkedin": null,
                "pinterest": null
            },
            {
                "id": 681,
                "user_id": "1",
                "name": "Amissa Gan",
                "logo": "files\/us\/681\/af3502595a45b4d87c93d6e3cf06d9f8.jpg",
                "description": "Do you have a post to be filled within your company? Find the right candidate in a few clicks at JobClass.",
                "country_code": "US",
                "city_id": null,
                "address": null,
                "phone": "",
                "fax": null,
                "email": null,
                "website": null,
                "facebook": null,
                "twitter": null,
                "linkedin": null,
                "pinterest": null
            },
            {
                "id": 680,
                "user_id": "1",
                "name": "Foo Inc.",
                "logo": "files\/us\/680\/2eced1747c0a378f80e0460e2b293f2c.jpg",
                "description": "Use a brief title and description of the ad\r\nMake sure you post in the correct category\r\nAdd a logo to your ad\r\nPut a min and max salary\r\nCheck the ad before publish",
                "country_code": "US",
                "city_id": null,
                "address": null,
                "phone": "",
                "fax": null,
                "email": null,
                "website": null,
                "facebook": null,
                "twitter": null,
                "linkedin": null,
                "pinterest": null
            },
            {
                "id": 679,
                "user_id": "1",
                "name": "CAPMARKETER",
                "logo": "files\/us\/679\/d76714ac649b431f757b7011c02c7269.png",
                "description": "Do you have a post to be filled within your company? Find the right candidate in a few clicks at JobClass.",
                "country_code": "US",
                "city_id": null,
                "address": null,
                "phone": "",
                "fax": null,
                "email": null,
                "website": null,
                "facebook": null,
                "twitter": null,
                "linkedin": null,
                "pinterest": null
            },
            {
                "id": 659,
                "user_id": "1",
                "name": "Africa Fun",
                "logo": "files\/us\/659\/eceb29817fcd13ef564fd47ab4acfd4f.png",
                "description": "Do you have a post to be filled within your company? Find the right candidate in a few clicks at JobClass.",
                "country_code": "US",
                "city_id": null,
                "address": null,
                "phone": "",
                "fax": null,
                "email": null,
                "website": null,
                "facebook": null,
                "twitter": null,
                "linkedin": null,
                "pinterest": null
            },
            {
                "id": 155,
                "user_id": "1455",
                "name": "Gibson LLC",
                "logo": "files\/eg\/1455\/20f53cda5ec88bb3677e24dd28b29e4e.png",
                "description": "Mollitia consequatur iure nemo et modi excepturi iste. Ea commodi placeat et ipsum. Aut qui nemo esse modi voluptas. Itaque repellat veritatis modi suscipit saepe.",
                "country_code": "EG",
                "city_id": "12686",
                "address": null,
                "phone": "+2038730612",
                "fax": "+1-549-759-6938",
                "email": "jana12@donnelly.biz",
                "website": "http:\/\/dolores.com",
                "facebook": null,
                "twitter": null,
                "linkedin": null,
                "pinterest": null
            },
            {
                "id": 437,
                "user_id": "302",
                "name": "Block, Bergstrom And Hessel",
                "logo": "files\/it\/302\/774a909e5bb743f173540ff4e8e3703b.png",
                "description": "Quod iste qui ipsum error tempore modi fuga. Dolores qui dolor autem dignissimos est et accusantium a.",
                "country_code": "IT",
                "city_id": "23633",
                "address": null,
                "phone": "9407762823",
                "fax": "+14174134207",
                "email": "toy97@lehner.biz",
                "website": "http:\/\/ea.com",
                "facebook": null,
                "twitter": null,
                "linkedin": null,
                "pinterest": null
            },
            {
                "id": 415,
                "user_id": "2196",
                "name": "Beer-Brekke",
                "logo": "files\/ir\/2196\/f702359940760a9710a9c06b483541fe.png",
                "description": "Voluptatibus sed quasi id. Ab ipsam ipsa eaque molestias commodi voluptas rem. Distinctio dolor sed doloremque natus. Expedita cum magnam nisi doloremque fugit.",
                "country_code": "IR",
                "city_id": "21917",
                "address": null,
                "phone": "+18423873459",
                "fax": "+16722248641",
                "email": "rico65@trantow.com",
                "website": "http:\/\/libero.com",
                "facebook": null,
                "twitter": null,
                "linkedin": null,
                "pinterest": null
            },
            {
                "id": 650,
                "user_id": "993",
                "name": "Waters, Heaney And Friesen",
                "logo": "files\/qa\/993\/4178a1f36cfd0fb3841fa0a637c12948.png",
                "description": "Quis pariatur aliquid consequatur aperiam. Nisi iure occaecati rerum sit aut tenetur. Soluta in voluptatem sit consequatur ut.",
                "country_code": "QA",
                "city_id": "33502",
                "address": null,
                "phone": "+12429446990",
                "fax": "723-463-1369",
                "email": "susana46@towne.info",
                "website": "http:\/\/autem.com",
                "facebook": null,
                "twitter": null,
                "linkedin": null,
                "pinterest": null
            },
            {
                "id": 471,
                "user_id": "1981",
                "name": "Koepp-Douglas",
                "logo": "files\/ar\/1981\/2fa6ff987d952ca0adb1c7afce0c7784.png",
                "description": "Laborum eos porro quibusdam at facere. Et iure inventore et ut consequuntur culpa.",
                "country_code": "AR",
                "city_id": "682",
                "address": null,
                "phone": "6274685869",
                "fax": "717.285.6860",
                "email": "emie60@reynolds.com",
                "website": "http:\/\/aut.com",
                "facebook": null,
                "twitter": null,
                "linkedin": null,
                "pinterest": null
            },
            {
                "id": 123,
                "user_id": "533",
                "name": "Bechtelar Group",
                "logo": "files\/id\/533\/801025689856cf095d4c1020420ca1e6.png",
                "description": "Earum deserunt esse consequatur ex ratione rem omnis. Adipisci facere ipsa voluptatem voluptas. Laborum qui quos saepe fuga architecto asperiores pariatur cupiditate. Ut vero quibusdam rerum sit in sint dolor.",
                "country_code": "ID",
                "city_id": "18020",
                "address": null,
                "phone": "+627467884102",
                "fax": "436.972.0846",
                "email": "kenya.parker@lesch.com",
                "website": "http:\/\/accusamus.com",
                "facebook": null,
                "twitter": null,
                "linkedin": null,
                "pinterest": null
            },
            {
                "id": 56,
                "user_id": "3",
                "name": "Cruickshank, Gusikowski And Kub",
                "logo": "files\/us\/3\/feb3122a6a3aca78d4b594e082b89099.png",
                "description": "Dolores qui neque repellendus occaecati doloremque. Aut officia optio non eaque vel fuga exercitationem. Ipsa sint quo optio qui aliquid. Debitis voluptatem amet in unde reiciendis repudiandae.",
                "country_code": "US",
                "city_id": "47246",
                "address": null,
                "phone": "+14787721324",
                "fax": "1-684-792-2626",
                "email": "maya.berge@example.net",
                "website": "http:\/\/aliquam.com",
                "facebook": null,
                "twitter": null,
                "linkedin": null,
                "pinterest": null
            },
            {
                "id": 452,
                "user_id": "283",
                "name": "Von, McGlynn And Walter",
                "logo": "files\/eg\/283\/7dc20a62dd568ae334332c51fb5555cc.png",
                "description": "Molestias nihil autem doloremque ut. Maiores ducimus blanditiis sed velit sunt assumenda enim. Voluptates illo aut sit repellendus libero culpa. Itaque perferendis et laborum non explicabo iusto.",
                "country_code": "EG",
                "city_id": "12741",
                "address": null,
                "phone": "9279610216",
                "fax": "768.303.8388",
                "email": "easter.lakin@white.biz",
                "website": "http:\/\/fuga.com",
                "facebook": null,
                "twitter": null,
                "linkedin": null,
                "pinterest": null
            },
            {
                "id": 172,
                "user_id": "1576",
                "name": "Huel-Lowe",
                "logo": "files\/br\/1576\/b0dc6fa92a7248689768e255c5a2c512.png",
                "description": "Eum molestiae incidunt non tempora reiciendis eos repellat voluptatem. Blanditiis nostrum architecto est impedit quam et pariatur. Rerum est ullam excepturi et voluptate. Laudantium necessitatibus corrupti non repudiandae rem.",
                "country_code": "BR",
                "city_id": "4566",
                "address": null,
                "phone": "5608477603",
                "fax": "681-494-0898",
                "email": "saul17@schmidt.com",
                "website": "http:\/\/debitis.com",
                "facebook": null,
                "twitter": null,
                "linkedin": null,
                "pinterest": null
            },
            {
                "id": 64,
                "user_id": "2062",
                "name": "Kiehn, Crooks And Marquardt",
                "logo": "files\/ua\/2062\/192fa529a7504404658ed36e67b9825c.png",
                "description": "Repellat natus quia omnis molestias. Eveniet culpa doloremque vero repudiandae est expedita. Excepturi maxime voluptatibus doloremque vel est autem iusto.",
                "country_code": "UA",
                "city_id": "39903",
                "address": null,
                "phone": "+13659033263",
                "fax": "+16736909861",
                "email": "smorissette@mitchell.com",
                "website": "http:\/\/delectus.com",
                "facebook": null,
                "twitter": null,
                "linkedin": null,
                "pinterest": null
            }
        ],
        "links": {
            "first": "http:\/\/localhost\/api\/companies?page=1",
            "last": "http:\/\/localhost\/api\/companies?page=42",
            "prev": null,
            "next": "http:\/\/localhost\/api\/companies?page=2"
        },
        "meta": {
            "current_page": 1,
            "from": 1,
            "last_page": 42,
            "links": [
                {
                    "url": null,
                    "label": "« Previous",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/companies?page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": "http:\/\/localhost\/api\/companies?page=2",
                    "label": "2",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/companies?page=3",
                    "label": "3",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/companies?page=4",
                    "label": "4",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/companies?page=5",
                    "label": "5",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/companies?page=6",
                    "label": "6",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/companies?page=7",
                    "label": "7",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/companies?page=8",
                    "label": "8",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/companies?page=9",
                    "label": "9",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/companies?page=10",
                    "label": "10",
                    "active": false
                },
                {
                    "url": null,
                    "label": "...",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/companies?page=41",
                    "label": "41",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/companies?page=42",
                    "label": "42",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/companies?page=2",
                    "label": "Next »",
                    "active": false
                }
            ],
            "path": "http:\/\/localhost\/api\/companies",
            "per_page": "16",
            "to": 16,
            "total": 663
        }
    }
}

Request      

GET api/companies

Query Parameters

sort  string optional  
The companies order (Order by DESC with the given column. Use "-" as prefix to order by ASC). Possible values: created_at, name or ...

Get company

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/companies/voluptatem?embed=quibusdam" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/companies/voluptatem"
);

let params = {
    "embed": "quibusdam",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/companies/voluptatem',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'embed'=> 'quibusdam',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

GET api/companies/{id}

URL Parameters

id  string  

Query Parameters

embed  string optional  
The Comma-separated list of the company relationships for Eager Loading. Possible values: user

Store company

requires authentication

Example request:

curl -X POST \
    "https://jobclass.laraclassifier.local/api/companies" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs" \
    -d ''
const url = new URL(
    "https://jobclass.laraclassifier.local/api/companies"
);

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

let body = 

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://jobclass.laraclassifier.local/api/companies',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'json' => [
            'company' => [
                'name' => 'aut',
                'description' => 'commodi',
                [
                    'country_code' => 'US',
                    'name' => 'Foo Inc',
                    'logo' => null,
                    'description' => 'Nostrum quia est aut quas. Consequuntur ut quis odit voluptatem laborum quia.',
                    'city_id' => 20,
                    'address' => '5 rue de l\'Echelle',
                    'phone' => '+17656766467',
                    'fax' => '+80159266712',
                    'email' => 'contact@domain.tld',
                    'website' => 'https://domain.tld',
                    'facebook' => 'non',
                    'twitter' => 'accusantium',
                    'linkedin' => 'necessitatibus',
                    'pinterest' => 'est',
                ],
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (401):

{
    "success": false,
    "message": "Unauthenticated or Token Expired, Please Login",
    "result": null,
    "error_code": 1
}

Request      

POST api/companies

Body Parameters

company  object optional  

company[].name  string  
The company's name.

company[].description  string  
The company's description.

company[].country_code  string  
The code of the company's country.

company[].logo  file optional  
The company's logo.

company[].city_id  integer optional  
The company city's ID.

company[].address  string optional  
The company's address.

company[].phone  string optional  
The company's phone number.

company[].fax  string optional  
The company's fax number.

company[].email  string optional  
The company's email address.

company[].website  string optional  
The company's website URL.

company[].facebook  string optional  
The company's Facebook URL.

company[].twitter  string optional  
The company's Twitter URL.

company[].linkedin  string optional  
The company's LinkedIn URL.

company[].pinterest  string optional  
The company's Pinterest URL.

Update company

requires authentication

Example request:

curl -X PUT \
    "https://jobclass.laraclassifier.local/api/companies/quibusdam" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs" \
    -d ''
const url = new URL(
    "https://jobclass.laraclassifier.local/api/companies/quibusdam"
);

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

let body = 

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://jobclass.laraclassifier.local/api/companies/quibusdam',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'json' => [
            'company' => [
                'name' => 'quibusdam',
                'description' => 'enim',
                [
                    'country_code' => 'US',
                    'name' => 'Foo Inc',
                    'logo' => null,
                    'description' => 'Nostrum quia est aut quas. Consequuntur ut quis odit voluptatem laborum quia.',
                    'city_id' => 18,
                    'address' => '5 rue de l\'Echelle',
                    'phone' => '+17656766467',
                    'fax' => '+80159266712',
                    'email' => 'contact@domain.tld',
                    'website' => 'https://domain.tld',
                    'facebook' => 'in',
                    'twitter' => 'suscipit',
                    'linkedin' => 'eum',
                    'pinterest' => 'praesentium',
                ],
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

PUT api/companies/{id}

URL Parameters

id  string  

Body Parameters

company  object optional  

company[].name  string  
The company's name.

company[].description  string  
The company's description.

company[].country_code  string  
The code of the company's country.

company[].logo  file optional  
The company's logo.

company[].city_id  integer optional  
The company city's ID.

company[].address  string optional  
The company's address.

company[].phone  string optional  
The company's phone number.

company[].fax  string optional  
The company's fax number.

company[].email  string optional  
The company's email address.

company[].website  string optional  
The company's website URL.

company[].facebook  string optional  
The company's Facebook URL.

company[].twitter  string optional  
The company's Twitter URL.

company[].linkedin  string optional  
The company's LinkedIn URL.

company[].pinterest  string optional  
The company's Pinterest URL.

Delete company(ies)

requires authentication

Example request:

curl -X DELETE \
    "https://jobclass.laraclassifier.local/api/companies/assumenda" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/companies/assumenda"
);

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://jobclass.laraclassifier.local/api/companies/assumenda',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

DELETE api/companies/{ids}

URL Parameters

ids  string  
The ID or comma-separated IDs list of company(ies).

Contact

Send Form

Send a message to the site owner.

Example request:

curl -X POST \
    "https://jobclass.laraclassifier.local/api/contact" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs" \
    -d '{"first_name":"John","last_name":"Doe","email":"john.doe@domain.tld","message":"Nesciunt porro possimus maiores voluptatibus accusamus velit qui aspernatur.","country_code":"US","country_name":"United Sates","captcha_key":"non"}'
const url = new URL(
    "https://jobclass.laraclassifier.local/api/contact"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

let body = {
    "first_name": "John",
    "last_name": "Doe",
    "email": "john.doe@domain.tld",
    "message": "Nesciunt porro possimus maiores voluptatibus accusamus velit qui aspernatur.",
    "country_code": "US",
    "country_name": "United Sates",
    "captcha_key": "non"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://jobclass.laraclassifier.local/api/contact',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'json' => [
            'first_name' => 'John',
            'last_name' => 'Doe',
            'email' => 'john.doe@domain.tld',
            'message' => 'Nesciunt porro possimus maiores voluptatibus accusamus velit qui aspernatur.',
            'country_code' => 'US',
            'country_name' => 'United Sates',
            'captcha_key' => 'non',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (429):

{
    "success": false,
    "message": "Too Many Requests,Please Slow Down",
    "result": null,
    "error_code": 1
}

Request      

POST api/contact

Body Parameters

first_name  string  
The user's first name.

last_name  string  
The user's last name.

email  string  
The user's email address.

message  string  
The message to send.

country_code  string  
The user's country code.

country_name  string  
The user's country name.

captcha_key  string optional  
Key generated by the CAPTCHA endpoint calling (Required if the CAPTCHA verification is enabled from the Admin panel).

Report post

Report abuse or issues

Example request:

curl -X POST \
    "https://jobclass.laraclassifier.local/api/posts/6/report" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs" \
    -d '{"report_type_id":2,"email":"john.doe@domain.tld","message":"Et sunt voluptatibus ducimus id assumenda sint.","captcha_key":"et"}'
const url = new URL(
    "https://jobclass.laraclassifier.local/api/posts/6/report"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

let body = {
    "report_type_id": 2,
    "email": "john.doe@domain.tld",
    "message": "Et sunt voluptatibus ducimus id assumenda sint.",
    "captcha_key": "et"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://jobclass.laraclassifier.local/api/posts/6/report',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'json' => [
            'report_type_id' => 2,
            'email' => 'john.doe@domain.tld',
            'message' => 'Et sunt voluptatibus ducimus id assumenda sint.',
            'captcha_key' => 'et',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (429):

{
    "success": false,
    "message": "Too Many Requests,Please Slow Down",
    "result": null,
    "error_code": 1
}

Request      

POST api/posts/{id}/report

URL Parameters

id  integer  
The post ID.

Body Parameters

report_type_id  integer  
The report type ID.

email  string  
The user's email address.

message  string  
The message to send.

captcha_key  string optional  
Key generated by the CAPTCHA endpoint calling (Required if the CAPTCHA verification is enabled from the Admin panel).

Send Post by Email

Example request:

curl -X POST \
    "https://jobclass.laraclassifier.local/api/posts/et/sendByEmail" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs" \
    -d '{"sender_email":"john.doe@domain.tld","recipient_email":"foo@domain.tld"}'
const url = new URL(
    "https://jobclass.laraclassifier.local/api/posts/et/sendByEmail"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

let body = {
    "sender_email": "john.doe@domain.tld",
    "recipient_email": "foo@domain.tld"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://jobclass.laraclassifier.local/api/posts/et/sendByEmail',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'json' => [
            'sender_email' => 'john.doe@domain.tld',
            'recipient_email' => 'foo@domain.tld',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (429):

{
    "success": false,
    "message": "Too Many Requests,Please Slow Down",
    "result": null,
    "error_code": 1
}

Request      

POST api/posts/{id}/sendByEmail

URL Parameters

id  string  

Body Parameters

sender_email  string  
The sender's email address.

recipient_email  string  
The recipient's email address.

Countries

List countries

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/countries?embed=nemo" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/countries"
);

let params = {
    "embed": "nemo",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/countries',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'embed'=> 'nemo',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

{
    "success": true,
    "message": null,
    "result": {
        "data": [
            {
                "code": "AD",
                "name": "Andorra",
                "capital": "Andorra la Vella",
                "continent_code": "EU",
                "tld": ".ad",
                "currency_code": "EUR",
                "phone": "376",
                "languages": "ca",
                "time_zone": null,
                "date_format": null,
                "datetime_format": null,
                "background_image": "app\/logo\/header-604fb9f86f6d3.jpg",
                "admin_type": "0",
                "admin_field_active": "0",
                "active": "1"
            },
            {
                "code": "AE",
                "name": "United Arab Emirates",
                "capital": "Abu Dhabi",
                "continent_code": "AS",
                "tld": ".ae",
                "currency_code": "AED",
                "phone": "971",
                "languages": "ar-AE,fa,en,hi,ur",
                "time_zone": null,
                "date_format": null,
                "datetime_format": null,
                "background_image": "app\/logo\/header-604fb9f8704de.jpg",
                "admin_type": "0",
                "admin_field_active": "0",
                "active": "1"
            },
            {
                "code": "AF",
                "name": "Afghanistan",
                "capital": "Kabul",
                "continent_code": "AS",
                "tld": ".af",
                "currency_code": "AFN",
                "phone": "93",
                "languages": "fa-AF,ps,uz-AF,tk",
                "time_zone": null,
                "date_format": null,
                "datetime_format": null,
                "background_image": "app\/logo\/header-604fb9f87113d.jpg",
                "admin_type": "0",
                "admin_field_active": "0",
                "active": "1"
            },
            {
                "code": "AG",
                "name": "Antigua and Barbuda",
                "capital": "St. John's",
                "continent_code": "NA",
                "tld": ".ag",
                "currency_code": "XCD",
                "phone": "+1-268",
                "languages": "en-AG",
                "time_zone": null,
                "date_format": null,
                "datetime_format": null,
                "background_image": "app\/logo\/header-604fb9f871ccb.jpg",
                "admin_type": "0",
                "admin_field_active": "0",
                "active": "1"
            },
            {
                "code": "AI",
                "name": "Anguilla",
                "capital": "The Valley",
                "continent_code": "NA",
                "tld": ".ai",
                "currency_code": "XCD",
                "phone": "+1-264",
                "languages": "en-AI",
                "time_zone": null,
                "date_format": null,
                "datetime_format": null,
                "background_image": "app\/logo\/header-604fb9f872617.jpg",
                "admin_type": "0",
                "admin_field_active": "0",
                "active": "1"
            },
            {
                "code": "AL",
                "name": "Albania",
                "capital": "Tirana",
                "continent_code": "EU",
                "tld": ".al",
                "currency_code": "ALL",
                "phone": "355",
                "languages": "sq,el",
                "time_zone": null,
                "date_format": null,
                "datetime_format": null,
                "background_image": "app\/logo\/header-604fb9f8732b0.jpg",
                "admin_type": "0",
                "admin_field_active": "0",
                "active": "1"
            },
            {
                "code": "AM",
                "name": "Armenia",
                "capital": "Yerevan",
                "continent_code": "AS",
                "tld": ".am",
                "currency_code": "AMD",
                "phone": "374",
                "languages": "hy",
                "time_zone": null,
                "date_format": null,
                "datetime_format": null,
                "background_image": "app\/logo\/header-604fb9f873984.jpg",
                "admin_type": "0",
                "admin_field_active": "0",
                "active": "1"
            },
            {
                "code": "AN",
                "name": "Netherlands Antilles",
                "capital": "Willemstad",
                "continent_code": "NA",
                "tld": ".an",
                "currency_code": "ANG",
                "phone": "599",
                "languages": "nl-AN,en,es",
                "time_zone": null,
                "date_format": null,
                "datetime_format": null,
                "background_image": "app\/logo\/header-604fb9f8743e7.jpg",
                "admin_type": "0",
                "admin_field_active": "0",
                "active": "1"
            },
            {
                "code": "AO",
                "name": "Angola",
                "capital": "Luanda",
                "continent_code": "AF",
                "tld": ".ao",
                "currency_code": "AOA",
                "phone": "244",
                "languages": "pt-AO",
                "time_zone": null,
                "date_format": null,
                "datetime_format": null,
                "background_image": "app\/logo\/header-604fb9f874da1.jpg",
                "admin_type": "0",
                "admin_field_active": "0",
                "active": "1"
            },
            {
                "code": "AR",
                "name": "Argentina",
                "capital": "Buenos Aires",
                "continent_code": "SA",
                "tld": ".ar",
                "currency_code": "ARS",
                "phone": "54",
                "languages": "es-AR,en,it,de,fr,gn",
                "time_zone": "America\/Argentina\/Buenos_Aires",
                "date_format": null,
                "datetime_format": null,
                "background_image": "app\/logo\/header-604fb9f876081.jpg",
                "admin_type": "0",
                "admin_field_active": "0",
                "active": "1"
            },
            {
                "code": "AS",
                "name": "American Samoa",
                "capital": "Pago Pago",
                "continent_code": "OC",
                "tld": ".as",
                "currency_code": "USD",
                "phone": "+1-684",
                "languages": "en-AS,sm,to",
                "time_zone": null,
                "date_format": null,
                "datetime_format": null,
                "background_image": "app\/logo\/header-604fb9f8767e0.jpg",
                "admin_type": "0",
                "admin_field_active": "0",
                "active": "1"
            },
            {
                "code": "AT",
                "name": "Austria",
                "capital": "Vienna",
                "continent_code": "EU",
                "tld": ".at",
                "currency_code": "EUR",
                "phone": "43",
                "languages": "de-AT,hr,hu,sl",
                "time_zone": null,
                "date_format": null,
                "datetime_format": null,
                "background_image": "app\/logo\/header-604fb9f877151.jpg",
                "admin_type": "0",
                "admin_field_active": "0",
                "active": "1"
            },
            {
                "code": "AU",
                "name": "Australia",
                "capital": "Canberra",
                "continent_code": "OC",
                "tld": ".au",
                "currency_code": "AUD",
                "phone": "61",
                "languages": "en-AU",
                "time_zone": null,
                "date_format": null,
                "datetime_format": null,
                "background_image": "app\/logo\/header-604fb9f877d0b.jpg",
                "admin_type": "0",
                "admin_field_active": "0",
                "active": "1"
            },
            {
                "code": "AW",
                "name": "Aruba",
                "capital": "Oranjestad",
                "continent_code": "NA",
                "tld": ".aw",
                "currency_code": "AWG",
                "phone": "297",
                "languages": "nl-AW,es,en",
                "time_zone": null,
                "date_format": null,
                "datetime_format": null,
                "background_image": "app\/logo\/header-604fb9f878436.jpg",
                "admin_type": "0",
                "admin_field_active": "0",
                "active": "1"
            },
            {
                "code": "AX",
                "name": "Åland Islands",
                "capital": "Mariehamn",
                "continent_code": "EU",
                "tld": ".ax",
                "currency_code": "EUR",
                "phone": "+358-18",
                "languages": "sv-AX",
                "time_zone": null,
                "date_format": null,
                "datetime_format": null,
                "background_image": "app\/logo\/header-604fb9f879271.jpg",
                "admin_type": "0",
                "admin_field_active": "0",
                "active": "1"
            },
            {
                "code": "AZ",
                "name": "Azerbaijan",
                "capital": "Baku",
                "continent_code": "AS",
                "tld": ".az",
                "currency_code": "AZN",
                "phone": "994",
                "languages": "az,ru,hy",
                "time_zone": null,
                "date_format": null,
                "datetime_format": null,
                "background_image": "app\/logo\/header-604fb9f879f2e.jpg",
                "admin_type": "0",
                "admin_field_active": "0",
                "active": "1"
            }
        ],
        "links": {
            "first": "http:\/\/localhost\/api\/countries?page=1",
            "last": "http:\/\/localhost\/api\/countries?page=16",
            "prev": null,
            "next": "http:\/\/localhost\/api\/countries?page=2"
        },
        "meta": {
            "current_page": 1,
            "from": 1,
            "last_page": 16,
            "links": [
                {
                    "url": null,
                    "label": "« Previous",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries?page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": "http:\/\/localhost\/api\/countries?page=2",
                    "label": "2",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries?page=3",
                    "label": "3",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries?page=4",
                    "label": "4",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries?page=5",
                    "label": "5",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries?page=6",
                    "label": "6",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries?page=7",
                    "label": "7",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries?page=8",
                    "label": "8",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries?page=9",
                    "label": "9",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries?page=10",
                    "label": "10",
                    "active": false
                },
                {
                    "url": null,
                    "label": "...",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries?page=15",
                    "label": "15",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries?page=16",
                    "label": "16",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries?page=2",
                    "label": "Next »",
                    "active": false
                }
            ],
            "path": "http:\/\/localhost\/api\/countries",
            "per_page": "16",
            "to": 16,
            "total": 251
        }
    }
}

Request      

GET api/countries

Query Parameters

embed  string optional  
Comma-separated list of the country relationships for Eager Loading. Possible values: currency

Get country

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/countries/DE?embed=quisquam" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/countries/DE"
);

let params = {
    "embed": "quisquam",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/countries/DE',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'embed'=> 'quisquam',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

{
    "success": true,
    "message": null,
    "result": {
        "code": "DE",
        "name": "Germany",
        "capital": "Berlin",
        "continent_code": "EU",
        "tld": ".de",
        "currency_code": "EUR",
        "phone": "49",
        "languages": "de",
        "time_zone": "Europe\/Berlin",
        "date_format": null,
        "datetime_format": null,
        "background_image": "app\/logo\/header-604fb9f892de3.jpg",
        "admin_type": "0",
        "admin_field_active": "0",
        "active": "1"
    }
}

Request      

GET api/countries/{code}

URL Parameters

code  string optional  
The country's ISO 3166-1 code.

Query Parameters

embed  string optional  
Comma-separated list of the country relationships for Eager Loading. Possible values: currency

List admin. divisions (1)

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/countries/US/subAdmins1?embed=ducimus" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/countries/US/subAdmins1"
);

let params = {
    "embed": "ducimus",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/countries/US/subAdmins1',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'embed'=> 'ducimus',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

{
    "success": true,
    "message": null,
    "result": {
        "data": [
            {
                "code": "US.AR",
                "country_code": "US",
                "name": "Arkansas",
                "active": "1"
            },
            {
                "code": "US.DC",
                "country_code": "US",
                "name": "Washington, D.C.",
                "active": "1"
            },
            {
                "code": "US.DE",
                "country_code": "US",
                "name": "Delaware",
                "active": "1"
            },
            {
                "code": "US.FL",
                "country_code": "US",
                "name": "Florida",
                "active": "1"
            },
            {
                "code": "US.GA",
                "country_code": "US",
                "name": "Georgia",
                "active": "1"
            },
            {
                "code": "US.KS",
                "country_code": "US",
                "name": "Kansas",
                "active": "1"
            },
            {
                "code": "US.LA",
                "country_code": "US",
                "name": "Louisiana",
                "active": "1"
            },
            {
                "code": "US.MD",
                "country_code": "US",
                "name": "Maryland",
                "active": "1"
            },
            {
                "code": "US.MO",
                "country_code": "US",
                "name": "Missouri",
                "active": "1"
            },
            {
                "code": "US.MS",
                "country_code": "US",
                "name": "Mississippi",
                "active": "1"
            },
            {
                "code": "US.NC",
                "country_code": "US",
                "name": "North Carolina",
                "active": "1"
            },
            {
                "code": "US.OK",
                "country_code": "US",
                "name": "Oklahoma",
                "active": "1"
            },
            {
                "code": "US.SC",
                "country_code": "US",
                "name": "South Carolina",
                "active": "1"
            },
            {
                "code": "US.TN",
                "country_code": "US",
                "name": "Tennessee",
                "active": "1"
            },
            {
                "code": "US.TX",
                "country_code": "US",
                "name": "Texas",
                "active": "1"
            },
            {
                "code": "US.WV",
                "country_code": "US",
                "name": "West Virginia",
                "active": "1"
            }
        ],
        "links": {
            "first": "http:\/\/localhost\/api\/countries\/US\/subAdmins1?page=1",
            "last": "http:\/\/localhost\/api\/countries\/US\/subAdmins1?page=4",
            "prev": null,
            "next": "http:\/\/localhost\/api\/countries\/US\/subAdmins1?page=2"
        },
        "meta": {
            "current_page": 1,
            "from": 1,
            "last_page": 4,
            "links": [
                {
                    "url": null,
                    "label": "« Previous",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/subAdmins1?page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/subAdmins1?page=2",
                    "label": "2",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/subAdmins1?page=3",
                    "label": "3",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/subAdmins1?page=4",
                    "label": "4",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/subAdmins1?page=2",
                    "label": "Next »",
                    "active": false
                }
            ],
            "path": "http:\/\/localhost\/api\/countries\/US\/subAdmins1",
            "per_page": "16",
            "to": 16,
            "total": 51
        }
    }
}

Request      

GET api/countries/{countryCode}/subAdmins1

URL Parameters

countryCode  string optional  
The country code of the country of the cities to retrieve.

Query Parameters

embed  string optional  
Comma-separated list of the administrative division (1) relationships for Eager Loading. Possible values: country

List admin. divisions (2)

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/countries/US/subAdmins2?embed=perspiciatis" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/countries/US/subAdmins2"
);

let params = {
    "embed": "perspiciatis",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/countries/US/subAdmins2',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'embed'=> 'perspiciatis',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

{
    "success": true,
    "message": null,
    "result": {
        "data": [
            {
                "code": "US.AL.113",
                "country_code": "US",
                "subadmin1_code": "US.AL",
                "name": "Russell County",
                "active": "1"
            },
            {
                "code": "US.GA.183",
                "country_code": "US",
                "subadmin1_code": "US.GA",
                "name": "Long County",
                "active": "1"
            },
            {
                "code": "US.KY.015",
                "country_code": "US",
                "subadmin1_code": "US.KY",
                "name": "Boone County",
                "active": "1"
            },
            {
                "code": "US.KY.205",
                "country_code": "US",
                "subadmin1_code": "US.KY",
                "name": "Rowan County",
                "active": "1"
            },
            {
                "code": "US.AL.007",
                "country_code": "US",
                "subadmin1_code": "US.AL",
                "name": "Bibb County",
                "active": "1"
            },
            {
                "code": "US.TN.013",
                "country_code": "US",
                "subadmin1_code": "US.TN",
                "name": "Campbell County",
                "active": "1"
            },
            {
                "code": "US.AL.009",
                "country_code": "US",
                "subadmin1_code": "US.AL",
                "name": "Blount County",
                "active": "1"
            },
            {
                "code": "US.AL.011",
                "country_code": "US",
                "subadmin1_code": "US.AL",
                "name": "Bullock County",
                "active": "1"
            },
            {
                "code": "US.AL.013",
                "country_code": "US",
                "subadmin1_code": "US.AL",
                "name": "Butler County",
                "active": "1"
            },
            {
                "code": "US.AL.015",
                "country_code": "US",
                "subadmin1_code": "US.AL",
                "name": "Calhoun County",
                "active": "1"
            },
            {
                "code": "US.AL.017",
                "country_code": "US",
                "subadmin1_code": "US.AL",
                "name": "Chambers County",
                "active": "1"
            },
            {
                "code": "US.AL.019",
                "country_code": "US",
                "subadmin1_code": "US.AL",
                "name": "Cherokee County",
                "active": "1"
            },
            {
                "code": "US.AL.021",
                "country_code": "US",
                "subadmin1_code": "US.AL",
                "name": "Chilton County",
                "active": "1"
            },
            {
                "code": "US.AL.023",
                "country_code": "US",
                "subadmin1_code": "US.AL",
                "name": "Choctaw County",
                "active": "1"
            },
            {
                "code": "US.AL.025",
                "country_code": "US",
                "subadmin1_code": "US.AL",
                "name": "Clarke County",
                "active": "1"
            },
            {
                "code": "US.AL.027",
                "country_code": "US",
                "subadmin1_code": "US.AL",
                "name": "Clay County",
                "active": "1"
            }
        ],
        "links": {
            "first": "http:\/\/localhost\/api\/countries\/US\/subAdmins2?page=1",
            "last": "http:\/\/localhost\/api\/countries\/US\/subAdmins2?page=197",
            "prev": null,
            "next": "http:\/\/localhost\/api\/countries\/US\/subAdmins2?page=2"
        },
        "meta": {
            "current_page": 1,
            "from": 1,
            "last_page": 197,
            "links": [
                {
                    "url": null,
                    "label": "« Previous",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/subAdmins2?page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/subAdmins2?page=2",
                    "label": "2",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/subAdmins2?page=3",
                    "label": "3",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/subAdmins2?page=4",
                    "label": "4",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/subAdmins2?page=5",
                    "label": "5",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/subAdmins2?page=6",
                    "label": "6",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/subAdmins2?page=7",
                    "label": "7",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/subAdmins2?page=8",
                    "label": "8",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/subAdmins2?page=9",
                    "label": "9",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/subAdmins2?page=10",
                    "label": "10",
                    "active": false
                },
                {
                    "url": null,
                    "label": "...",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/subAdmins2?page=196",
                    "label": "196",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/subAdmins2?page=197",
                    "label": "197",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/subAdmins2?page=2",
                    "label": "Next »",
                    "active": false
                }
            ],
            "path": "http:\/\/localhost\/api\/countries\/US\/subAdmins2",
            "per_page": "16",
            "to": 16,
            "total": 3142
        }
    }
}

Request      

GET api/countries/{countryCode}/subAdmins2

URL Parameters

countryCode  string optional  
The country code of the country of the cities to retrieve.

Query Parameters

embed  string optional  
Comma-separated list of the administrative division (2) relationships for Eager Loading. Possible values: country,subAdmin1

List cities

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/countries/US/cities?embed=autem" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/countries/US/cities"
);

let params = {
    "embed": "autem",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/countries/US/cities',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'embed'=> 'autem',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

{
    "success": true,
    "message": null,
    "result": {
        "data": [
            {
                "id": 42321,
                "country_code": "US",
                "name": "Bay Minette",
                "latitude": "30.88",
                "longitude": "-87.77",
                "subadmin1_code": "US.AL",
                "subadmin2_code": "US.AL.003",
                "population": "9118",
                "time_zone": "America\/Chicago",
                "active": "1"
            },
            {
                "id": 42322,
                "country_code": "US",
                "name": "Edna",
                "latitude": "28.98",
                "longitude": "-96.65",
                "subadmin1_code": "US.TX",
                "subadmin2_code": "US.TX.239",
                "population": "5792",
                "time_zone": "America\/Chicago",
                "active": "1"
            },
            {
                "id": 42323,
                "country_code": "US",
                "name": "Henderson",
                "latitude": "32.15",
                "longitude": "-94.8",
                "subadmin1_code": "US.TX",
                "subadmin2_code": "US.TX.401",
                "population": "13529",
                "time_zone": "America\/Chicago",
                "active": "1"
            },
            {
                "id": 42324,
                "country_code": "US",
                "name": "Fort Hunt",
                "latitude": "38.73",
                "longitude": "-77.06",
                "subadmin1_code": "US.VA",
                "subadmin2_code": "US.VA.059",
                "population": "16045",
                "time_zone": "America\/New_York",
                "active": "1"
            },
            {
                "id": 42325,
                "country_code": "US",
                "name": "Trinity",
                "latitude": "28.18",
                "longitude": "-82.68",
                "subadmin1_code": "US.FL",
                "subadmin2_code": "US.FL.101",
                "population": "10907",
                "time_zone": "America\/New_York",
                "active": "1"
            },
            {
                "id": 42326,
                "country_code": "US",
                "name": "Villas",
                "latitude": "26.55",
                "longitude": "-81.87",
                "subadmin1_code": "US.FL",
                "subadmin2_code": "US.FL.071",
                "population": "11569",
                "time_zone": "America\/New_York",
                "active": "1"
            },
            {
                "id": 42327,
                "country_code": "US",
                "name": "Bessemer",
                "latitude": "33.4",
                "longitude": "-86.95",
                "subadmin1_code": "US.AL",
                "subadmin2_code": "US.AL.073",
                "population": "26730",
                "time_zone": "America\/Chicago",
                "active": "1"
            },
            {
                "id": 42328,
                "country_code": "US",
                "name": "Paducah",
                "latitude": "37.08",
                "longitude": "-88.6",
                "subadmin1_code": "US.KY",
                "subadmin2_code": "US.KY.145",
                "population": "24864",
                "time_zone": "America\/Chicago",
                "active": "1"
            },
            {
                "id": 42329,
                "country_code": "US",
                "name": "Red Chute",
                "latitude": "32.56",
                "longitude": "-93.61",
                "subadmin1_code": "US.LA",
                "subadmin2_code": "US.LA.015",
                "population": "6261",
                "time_zone": "America\/Chicago",
                "active": "1"
            },
            {
                "id": 42330,
                "country_code": "US",
                "name": "Jessup",
                "latitude": "39.15",
                "longitude": "-76.78",
                "subadmin1_code": "US.MD",
                "subadmin2_code": "US.MD.003",
                "population": "7137",
                "time_zone": "America\/New_York",
                "active": "1"
            },
            {
                "id": 42331,
                "country_code": "US",
                "name": "Birmingham",
                "latitude": "33.52",
                "longitude": "-86.8",
                "subadmin1_code": "US.AL",
                "subadmin2_code": "US.AL.073",
                "population": "212461",
                "time_zone": "America\/Chicago",
                "active": "1"
            },
            {
                "id": 42332,
                "country_code": "US",
                "name": "Delhi Hills",
                "latitude": "39.09",
                "longitude": "-84.61",
                "subadmin1_code": "US.OH",
                "subadmin2_code": "US.OH.061",
                "population": "5259",
                "time_zone": "America\/New_York",
                "active": "1"
            },
            {
                "id": 42333,
                "country_code": "US",
                "name": "Turpin Hills",
                "latitude": "39.11",
                "longitude": "-84.38",
                "subadmin1_code": "US.OH",
                "subadmin2_code": "US.OH.061",
                "population": "5099",
                "time_zone": "America\/New_York",
                "active": "1"
            },
            {
                "id": 42334,
                "country_code": "US",
                "name": "Lugoff",
                "latitude": "34.23",
                "longitude": "-80.69",
                "subadmin1_code": "US.SC",
                "subadmin2_code": "US.SC.055",
                "population": "7434",
                "time_zone": "America\/New_York",
                "active": "1"
            },
            {
                "id": 42335,
                "country_code": "US",
                "name": "Buda",
                "latitude": "30.09",
                "longitude": "-97.84",
                "subadmin1_code": "US.TX",
                "subadmin2_code": "US.TX.209",
                "population": "13705",
                "time_zone": "America\/Chicago",
                "active": "1"
            },
            {
                "id": 42336,
                "country_code": "US",
                "name": "Boaz",
                "latitude": "34.2",
                "longitude": "-86.17",
                "subadmin1_code": "US.AL",
                "subadmin2_code": "US.AL.095",
                "population": "9688",
                "time_zone": "America\/Chicago",
                "active": "1"
            }
        ],
        "links": {
            "first": "http:\/\/localhost\/api\/countries\/US\/cities?page=1",
            "last": "http:\/\/localhost\/api\/countries\/US\/cities?page=450",
            "prev": null,
            "next": "http:\/\/localhost\/api\/countries\/US\/cities?page=2"
        },
        "meta": {
            "current_page": 1,
            "from": 1,
            "last_page": 450,
            "links": [
                {
                    "url": null,
                    "label": "« Previous",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/cities?page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/cities?page=2",
                    "label": "2",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/cities?page=3",
                    "label": "3",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/cities?page=4",
                    "label": "4",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/cities?page=5",
                    "label": "5",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/cities?page=6",
                    "label": "6",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/cities?page=7",
                    "label": "7",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/cities?page=8",
                    "label": "8",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/cities?page=9",
                    "label": "9",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/cities?page=10",
                    "label": "10",
                    "active": false
                },
                {
                    "url": null,
                    "label": "...",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/cities?page=449",
                    "label": "449",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/cities?page=450",
                    "label": "450",
                    "active": false
                },
                {
                    "url": "http:\/\/localhost\/api\/countries\/US\/cities?page=2",
                    "label": "Next »",
                    "active": false
                }
            ],
            "path": "http:\/\/localhost\/api\/countries\/US\/cities",
            "per_page": "16",
            "to": 16,
            "total": 7197
        }
    }
}

Request      

GET api/countries/{countryCode}/cities

URL Parameters

countryCode  string optional  
The country code of the country of the cities to retrieve.

Query Parameters

embed  string optional  
Comma-separated list of the city relationships for Eager Loading. Possible values: country,subAdmin1,subAdmin2

Get admin. division (1)

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/subAdmins1/praesentium?embed=nemo" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/subAdmins1/praesentium"
);

let params = {
    "embed": "nemo",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/subAdmins1/praesentium',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'embed'=> 'nemo',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Entry for Models\\SubAdmin1 not found",
    "result": null,
    "error_code": 1
}

Request      

GET api/subAdmins1/{code}

URL Parameters

code  string  

Query Parameters

embed  string optional  
Comma-separated list of the administrative division (1) relationships for Eager Loading. Possible values: country

Get admin. division (2)

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/subAdmins2/enim?embed=ab" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/subAdmins2/enim"
);

let params = {
    "embed": "ab",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/subAdmins2/enim',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'embed'=> 'ab',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Entry for Models\\SubAdmin2 not found",
    "result": null,
    "error_code": 1
}

Request      

GET api/subAdmins2/{code}

URL Parameters

code  string  

Query Parameters

embed  string optional  
Comma-separated list of the administrative division (2) relationships for Eager Loading. Possible values: country,subAdmin1

Get city

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/cities/consectetur?embed=assumenda" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/cities/consectetur"
);

let params = {
    "embed": "assumenda",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/cities/consectetur',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'embed'=> 'assumenda',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

GET api/cities/{id}

URL Parameters

id  string  

Query Parameters

embed  string optional  
Comma-separated list of the city relationships for Eager Loading. Possible values: country,subAdmin1,subAdmin2

Home

List sections

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/homeSections" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/homeSections"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/homeSections',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (429):

{
    "success": false,
    "message": "Too Many Requests,Please Slow Down",
    "result": null,
    "error_code": 1
}

Request      

GET api/homeSections

Packages

List packages

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/packages?embed=currency" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/packages"
);

let params = {
    "embed": "currency",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/packages',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'embed'=> 'currency',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

{
    "success": true,
    "message": null,
    "result": {
        "data": []
    }
}

Request      

GET api/packages

Query Parameters

embed  string optional  
Comma-separated list of the package relationships for Eager Loading.

Get package

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/packages/2?embed=currency" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/packages/2"
);

let params = {
    "embed": "currency",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/packages/2',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'embed'=> 'currency',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Entry for Models\\Package not found",
    "result": null,
    "error_code": 1
}

Request      

GET api/packages/{id}

URL Parameters

id  integer optional  
The package's ID.

Query Parameters

embed  string optional  
Comma-separated list of the package relationships for Eager Loading.

Pages

List pages

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/pages?excludedFromFooter=" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/pages"
);

let params = {
    "excludedFromFooter": "",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/pages',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'excludedFromFooter'=> '',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (429):

{
    "success": false,
    "message": "Too Many Requests,Please Slow Down",
    "result": null,
    "error_code": 1
}

Request      

GET api/pages

Query Parameters

excludedFromFooter  boolean optional  
Select or unselect pages that can list in footer.

Get page

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/pages/error" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/pages/error"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/pages/error',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (429):

{
    "success": false,
    "message": "Too Many Requests,Please Slow Down",
    "result": null,
    "error_code": 1
}

Request      

GET api/pages/{slugOrId}

URL Parameters

slugOrId  string  
The slug or ID of the page.

Payment Methods

List payment methods

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/paymentMethods?countryCode=US" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/paymentMethods"
);

let params = {
    "countryCode": "US",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/paymentMethods',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'countryCode'=> 'US',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

{
    "success": true,
    "message": null,
    "result": {
        "data": [
            {
                "id": 5,
                "name": "offlinepayment",
                "display_name": "Offline Payment",
                "description": null,
                "has_ccbox": "0",
                "is_compatible_api": "1",
                "countries": "",
                "active": "1",
                "lft": "5",
                "rgt": "5",
                "depth": "1",
                "parent_id": "0"
            }
        ]
    }
}

Request      

GET api/paymentMethods

Query Parameters

countryCode  string optional  
Country code. Select only the payment methods related to a country.

Get payment method

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/paymentMethods/7" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/paymentMethods/7"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/paymentMethods/7',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Entry for Models\\PaymentMethod not found",
    "result": null,
    "error_code": 1
}

Request      

GET api/paymentMethods/{id}

URL Parameters

id  integer  
Can be the ID (int) or name (string) of the payment method.

Payments

List payments

requires authentication

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/payments?embed=voluptate" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/payments"
);

let params = {
    "embed": "voluptate",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/payments',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'embed'=> 'voluptate',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (401):

{
    "success": false,
    "message": "Unauthenticated or Token Expired, Please Login",
    "result": null,
    "error_code": 1
}

Request      

GET api/payments

Query Parameters

embed  string optional  
Comma-separated list of the payment relationships for Eager Loading. Possible values: post,paymentMethod,package,currency

Get payment

requires authentication

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/payments/quaerat?embed=autem" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/payments/quaerat"
);

let params = {
    "embed": "autem",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/payments/quaerat',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'embed'=> 'autem',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

GET api/payments/{id}

URL Parameters

id  string  

Query Parameters

embed  string optional  
Comma-separated list of the payment relationships for Eager Loading. Possible values: post,paymentMethod,package,currency

Store payment

requires authentication

Note: This endpoint is only available for the multi steps post edition.

Example request:

curl -X POST \
    "https://jobclass.laraclassifier.local/api/payments?package=2" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs" \
    -d '{"country_code":"US","post_id":2,"package_id":8,"payment_method_id":5}'
const url = new URL(
    "https://jobclass.laraclassifier.local/api/payments"
);

let params = {
    "package": "2",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

let body = {
    "country_code": "US",
    "post_id": 2,
    "package_id": 8,
    "payment_method_id": 5
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://jobclass.laraclassifier.local/api/payments',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'package'=> '2',
        ],
        'json' => [
            'country_code' => 'US',
            'post_id' => 2,
            'package_id' => 8,
            'payment_method_id' => 5,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Post not found",
    "result": null,
    "error_code": 1
}

Request      

POST api/payments

Query Parameters

package  integer optional  
Selected package ID.

Body Parameters

country_code  string  
The code of the user's country.

post_id  integer  
The post's ID.

package_id  integer  
The package's ID (Auto filled when the query parameter 'package' is set).

payment_method_id  integer optional  
The payment method's ID (required when the selected package's price is > 0).

Posts

List posts

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/posts?embed=saepe" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/posts"
);

let params = {
    "embed": "saepe",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/posts',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'embed'=> 'saepe',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

{
    "success": true,
    "message": null,
    "result": {
        "data": [
            {
                "id": 2823,
                "country_code": "US",
                "user_id": "1",
                "company_id": "683",
                "company_name": "MISSION IMPOSSIBLE",
                "logo": "files\/us\/683\/3c69eac8aacff148e52e025c675100e2.jpg",
                "company_description": "Do you have a post to be filled within your company? Find the right candidate in a few clicks at JobClass.",
                "category_id": "3",
                "post_type_id": "1",
                "title": "S'inscrire - {app.name}",
                "description": "<p><span style=\"color:#292b2c;font-family:Roboto, Helvetica, Arial, sans-serif;font-size:13px;text-align:center;background-color:#ffffff;\">Do you have a post to be filled within your company? Find the right candidate in a few clicks at JobClass.<\/span><\/p>",
                "tags": "2dnpfn",
                "salary_min": "700.00",
                "salary_max": "2000.00",
                "salary_type_id": "1",
                "negotiable": "1",
                "start_date": "2021\/06\/28",
                "application_url": "",
                "contact_name": "Administrator",
                "email": "admin@larapen.com",
                "phone": "061228281",
                "phone_hidden": null,
                "city_id": "48201",
                "lat": "37.64",
                "lon": "-121.00",
                "address": null,
                "ip_addr": "::1",
                "visits": "0",
                "tmp_token": "8f45d0a4f16f0992ed241daee458bb9a",
                "email_token": null,
                "phone_token": null,
                "verified_email": "1",
                "verified_phone": "1",
                "accept_terms": "0",
                "accept_marketing_offers": "0",
                "reviewed": "1",
                "featured": "0",
                "archived": "0",
                "archived_at": "2021-06-23T13:32:43.000000Z",
                "deletion_mail_sent_at": null,
                "partner": null,
                "created_at": "2021-06-23T13:32:43.000000Z",
                "updated_at": "2021-06-23T13:32:43.000000Z",
                "slug": "sinscrire-app_name",
                "created_at_formatted": "Jun 23rd, 2021 at 09:32",
                "user_photo_url": "http:\/\/jobclass.laraclassifier.local\/images\/user.jpg"
            },
            {
                "id": 2822,
                "country_code": "US",
                "user_id": "1",
                "company_id": "682",
                "company_name": "LOLA LAND",
                "logo": "files\/us\/682\/a9df8b8e75140f5ec9aade4702333313.png",
                "company_description": "Do you have a post to be filled within your company? Find the right candidate in a few clicks at JobClass.",
                "category_id": "13",
                "post_type_id": "5",
                "title": "Toyota RAV 4 cool",
                "description": "<p><span style=\"color:#292b2c;font-family:Roboto, Helvetica, Arial, sans-serif;font-size:13px;text-align:center;background-color:#ffffff;\">Do you have a post to be filled within your company? Find the right candidate in a few clicks at JobClass.<\/span><\/p>",
                "tags": "",
                "salary_min": "32.00",
                "salary_max": "233.00",
                "salary_type_id": "3",
                "negotiable": "1",
                "start_date": "2021\/06\/29",
                "application_url": "",
                "contact_name": "Administrator",
                "email": "admin@larapen.com",
                "phone": "061228281",
                "phone_hidden": null,
                "city_id": "43601",
                "lat": "39.17",
                "lon": "-77.27",
                "address": null,
                "ip_addr": "::1",
                "visits": "0",
                "tmp_token": "90bc64f9ef9c2e0159c658b3248b406f",
                "email_token": null,
                "phone_token": null,
                "verified_email": "1",
                "verified_phone": "1",
                "accept_terms": "0",
                "accept_marketing_offers": "0",
                "reviewed": "1",
                "featured": "1",
                "archived": "0",
                "archived_at": "2021-06-23T13:30:14.000000Z",
                "deletion_mail_sent_at": null,
                "partner": null,
                "created_at": "2021-06-23T13:29:19.000000Z",
                "updated_at": "2021-06-23T13:30:14.000000Z",
                "slug": "toyota-rav-4-cool",
                "created_at_formatted": "Jun 23rd, 2021 at 09:29",
                "user_photo_url": "http:\/\/jobclass.laraclassifier.local\/images\/user.jpg"
            },
            {
                "id": 2821,
                "country_code": "US",
                "user_id": "1",
                "company_id": "681",
                "company_name": "Amissa Gan",
                "logo": "files\/us\/681\/af3502595a45b4d87c93d6e3cf06d9f8.jpg",
                "company_description": "Do you have a post to be filled within your company? Find the right candidate in a few clicks at JobClass.",
                "category_id": "10",
                "post_type_id": "3",
                "title": "Do you have something to sell",
                "description": "<p><span style=\"color:#292b2c;font-family:Roboto, Helvetica, Arial, sans-serif;font-size:13px;text-align:center;background-color:#ffffff;\">Do you have a post to be filled within your company? Find the right candidate in a few clicks at JobClass.<\/span><\/p>",
                "tags": "",
                "salary_min": "32.00",
                "salary_max": "2000.00",
                "salary_type_id": "1",
                "negotiable": "1",
                "start_date": "2021\/06\/30",
                "application_url": "",
                "contact_name": "Administrator",
                "email": "admin@larapen.com",
                "phone": "061228281",
                "phone_hidden": null,
                "city_id": "46662",
                "lat": "40.77",
                "lon": "-73.93",
                "address": null,
                "ip_addr": "::1",
                "visits": "0",
                "tmp_token": "9fc59fe73c01bedb0bd0454d10298887",
                "email_token": null,
                "phone_token": null,
                "verified_email": "1",
                "verified_phone": "1",
                "accept_terms": "0",
                "accept_marketing_offers": "0",
                "reviewed": "1",
                "featured": "0",
                "archived": "0",
                "archived_at": "2021-06-23T13:26:40.000000Z",
                "deletion_mail_sent_at": null,
                "partner": null,
                "created_at": "2021-06-23T13:26:40.000000Z",
                "updated_at": "2021-06-23T13:26:40.000000Z",
                "slug": "do-you-have-something-to-sell",
                "created_at_formatted": "Jun 23rd, 2021 at 09:26",
                "user_photo_url": "http:\/\/jobclass.laraclassifier.local\/images\/user.jpg"
            },
            {
                "id": 2820,
                "country_code": "US",
                "user_id": null,
                "company_id": "0",
                "company_name": "Foo Inc.",
                "logo": "files\/us\/2820\/68a98a8b1793b20acfb62fb8b4a048c1.jpg",
                "company_description": "Do you have a post to be filled within your company? Find the right candidate in a few clicks at JobClass.",
                "category_id": "14",
                "post_type_id": "1",
                "title": "Toyota RAV 4 cool",
                "description": "<p><span style=\"color:#292b2c;font-family:Roboto, Helvetica, Arial, sans-serif;font-size:13px;text-align:center;background-color:#ffffff;\">Do you have a post to be filled within your company? Find the right candidate in a few clicks at JobClass.<\/span><\/p>",
                "tags": "",
                "salary_min": "32.00",
                "salary_max": "2000.00",
                "salary_type_id": "2",
                "negotiable": "1",
                "start_date": "2021\/05\/28",
                "application_url": "",
                "contact_name": "Edou",
                "email": "ddd@tata.com",
                "phone": "",
                "phone_hidden": null,
                "city_id": "49062",
                "lat": "47.32",
                "lon": "-122.31",
                "address": null,
                "ip_addr": "::1",
                "visits": "2",
                "tmp_token": "0913842a121a2d878fbe280be79e13ff",
                "email_token": "258817014b3fb557ba128656923009bb",
                "phone_token": null,
                "verified_email": "1",
                "verified_phone": "1",
                "accept_terms": "1",
                "accept_marketing_offers": "0",
                "reviewed": "1",
                "featured": "1",
                "archived": "0",
                "archived_at": "2021-06-07T06:26:53.000000Z",
                "deletion_mail_sent_at": null,
                "partner": null,
                "created_at": "2021-05-23T14:00:44.000000Z",
                "updated_at": "2021-06-07T06:26:53.000000Z",
                "slug": "toyota-rav-4-cool",
                "created_at_formatted": "May 23rd, 2021 at 10:00",
                "user_photo_url": "http:\/\/jobclass.laraclassifier.local\/images\/user.jpg"
            },
            {
                "id": 2818,
                "country_code": "US",
                "user_id": null,
                "company_id": "0",
                "company_name": "Foo Inc.",
                "logo": "files\/us\/2818\/daf6b92636cb5886e2fb47fe5337f6b8.png",
                "company_description": "Do you have a post to be filled within your company? Find the right candidate in a few clicks at JobClass.",
                "category_id": "10",
                "post_type_id": "2",
                "title": "Do you have something to sell",
                "description": "<p><span style=\"color:#292b2c;font-family:Roboto, Helvetica, Arial, sans-serif;font-size:13px;text-align:center;background-color:#ffffff;\">Do you have a post to be filled within your company? Find the right candidate in a few clicks at JobClass.<\/span><\/p>",
                "tags": "",
                "salary_min": "700.00",
                "salary_max": "2332.00",
                "salary_type_id": "1",
                "negotiable": "1",
                "start_date": "2021\/05\/26",
                "application_url": "",
                "contact_name": "User Toto",
                "email": "fofo@lola.com",
                "phone": "",
                "phone_hidden": null,
                "city_id": "44873",
                "lat": "29.42",
                "lon": "-98.49",
                "address": null,
                "ip_addr": "::1",
                "visits": "1",
                "tmp_token": "5acd471271573926338b818033e487bc",
                "email_token": "0dbe92d88c82fbb6b4d0c436fc75a55a",
                "phone_token": null,
                "verified_email": "1",
                "verified_phone": "1",
                "accept_terms": "1",
                "accept_marketing_offers": "0",
                "reviewed": "0",
                "featured": "0",
                "archived": "0",
                "archived_at": "2021-05-23T01:54:58.000000Z",
                "deletion_mail_sent_at": null,
                "partner": null,
                "created_at": "2021-05-23T01:50:56.000000Z",
                "updated_at": "2021-05-23T01:54:58.000000Z",
                "slug": "do-you-have-something-to-sell",
                "created_at_formatted": "May 22nd, 2021 at 21:50",
                "user_photo_url": "http:\/\/jobclass.laraclassifier.local\/images\/user.jpg"
            },
            {
                "id": 2814,
                "country_code": "US",
                "user_id": null,
                "company_id": "0",
                "company_name": "Amivovo",
                "logo": "app\/default\/picture.jpg",
                "company_description": "Do you have a post to be filled within your company? Find the right candidate in a few clicks at JobClass.",
                "category_id": "5",
                "post_type_id": "1",
                "title": "Do you have something to sell",
                "description": "<p><span style=\"color:#292b2c;font-family:Roboto, Helvetica, Arial, sans-serif;font-size:13px;text-align:center;background-color:#ffffff;\">Do you have a post to be filled within your company? Find the right candidate in a few clicks at JobClass.<\/span><\/p>",
                "tags": "",
                "salary_min": "32.00",
                "salary_max": "233.00",
                "salary_type_id": "1",
                "negotiable": "1",
                "start_date": "2021\/05\/26",
                "application_url": "",
                "contact_name": "User Test",
                "email": "toto@test.com",
                "phone": "",
                "phone_hidden": null,
                "city_id": "42570",
                "lat": "26.56",
                "lon": "-81.95",
                "address": null,
                "ip_addr": "::1",
                "visits": "1",
                "tmp_token": "4cb42ed1e63be144865732aefaf714fa",
                "email_token": "e32bda733ed5844374edb226290c91ab",
                "phone_token": null,
                "verified_email": "1",
                "verified_phone": "1",
                "accept_terms": "1",
                "accept_marketing_offers": "1",
                "reviewed": "0",
                "featured": "0",
                "archived": "0",
                "archived_at": "2021-05-21T16:57:00.000000Z",
                "deletion_mail_sent_at": null,
                "partner": null,
                "created_at": "2021-05-21T16:53:27.000000Z",
                "updated_at": "2021-05-21T16:57:00.000000Z",
                "slug": "do-you-have-something-to-sell",
                "created_at_formatted": "May 21st, 2021 at 12:53",
                "user_photo_url": "http:\/\/jobclass.laraclassifier.local\/images\/user.jpg"
            },
            {
                "id": 2813,
                "country_code": "US",
                "user_id": "1",
                "company_id": "680",
                "company_name": "Foo Inc.",
                "logo": "files\/us\/680\/2eced1747c0a378f80e0460e2b293f2c.jpg",
                "company_description": "Use a brief title and description of the ad\r\nMake sure you post in the correct category\r\nAdd a logo to your ad\r\nPut a min and max salary\r\nCheck the ad before publish",
                "category_id": "14",
                "post_type_id": "1",
                "title": "Do you have something to sell",
                "description": "<p><span style=\"color:#292b2c;font-family:Roboto, Helvetica, Arial, sans-serif;font-size:13px;text-align:center;background-color:#ffffff;\">Do you have a post to be filled within your company? Find the right candidate in a few clicks at JobClass.<\/span><\/p>",
                "tags": "dede,lol",
                "salary_min": "32.00",
                "salary_max": "2000.00",
                "salary_type_id": "3",
                "negotiable": "1",
                "start_date": "2021\/05\/30",
                "application_url": "",
                "contact_name": "Administrator",
                "email": "admin@larapen.com",
                "phone": "061228281",
                "phone_hidden": null,
                "city_id": "43968",
                "lat": "35.05",
                "lon": "-78.88",
                "address": null,
                "ip_addr": "::1",
                "visits": "1",
                "tmp_token": "ab82d49317fbf6e415ebf9f0cf36e6a1",
                "email_token": null,
                "phone_token": null,
                "verified_email": "1",
                "verified_phone": "1",
                "accept_terms": "0",
                "accept_marketing_offers": "0",
                "reviewed": "0",
                "featured": "0",
                "archived": "0",
                "archived_at": "2021-05-23T14:05:04.000000Z",
                "deletion_mail_sent_at": null,
                "partner": null,
                "created_at": "2021-05-21T10:00:53.000000Z",
                "updated_at": "2021-05-23T14:05:04.000000Z",
                "slug": "do-you-have-something-to-sell",
                "created_at_formatted": "May 21st, 2021 at 06:00",
                "user_photo_url": "http:\/\/jobclass.laraclassifier.local\/images\/user.jpg"
            },
            {
                "id": 2786,
                "country_code": "US",
                "user_id": null,
                "company_id": "0",
                "company_name": "Foo Inc.",
                "logo": "app\/default\/picture.jpg",
                "company_description": "Do you have a post to be filled within your company? Find the right candidate in a few clicks at JobClass.",
                "category_id": "5",
                "post_type_id": "3",
                "title": "Post Free Ads",
                "description": "<p><span style=\"color:#292b2c;font-family:Roboto, Helvetica, Arial, sans-serif;font-size:13px;text-align:center;background-color:#ffffff;\">Do you have a post to be filled within your company? Find the right candidate in a few clicks at JobClass.<\/span><\/p>",
                "tags": "",
                "salary_min": null,
                "salary_max": null,
                "salary_type_id": "1",
                "negotiable": null,
                "start_date": "2021\/05\/25",
                "application_url": "",
                "contact_name": "Pop Olivia",
                "email": "amiza@toto.com",
                "phone": "",
                "phone_hidden": null,
                "city_id": "48164",
                "lat": "34.05",
                "lon": "-118.24",
                "address": null,
                "ip_addr": "::1",
                "visits": "0",
                "tmp_token": "354cfc172fc3e6148243e874efd92471",
                "email_token": "91f73d7a92b05ea24c65002e6c0b20d3",
                "phone_token": null,
                "verified_email": "1",
                "verified_phone": "1",
                "accept_terms": "1",
                "accept_marketing_offers": "0",
                "reviewed": "0",
                "featured": "0",
                "archived": "0",
                "archived_at": "2021-05-08T15:34:56.000000Z",
                "deletion_mail_sent_at": null,
                "partner": null,
                "created_at": "2021-05-08T15:33:48.000000Z",
                "updated_at": "2021-05-08T15:34:56.000000Z",
                "slug": "post-free-ads",
                "created_at_formatted": "May 8th, 2021 at 11:33",
                "user_photo_url": "http:\/\/jobclass.laraclassifier.local\/images\/user.jpg"
            },
            {
                "id": 301,
                "country_code": "US",
                "user_id": "1973",
                "company_id": "133",
                "company_name": "Brekke-Gusikowski",
                "logo": "app\/default\/picture.jpg",
                "company_description": "Officia corrupti voluptatem reprehenderit voluptatum nostrum atque ut. Natus dolor dolor quae beatae ipsum ad est. Et odit corrupti exercitationem et qui nihil. Repellendus odio autem nemo eos fugit amet dolorem. Iusto et aut magni.",
                "category_id": "1",
                "post_type_id": "3",
                "title": "Translator 3 years of experience",
                "description": "Dolorem omnis aut eaque voluptatibus aut eos. Recusandae est incidunt nihil cupiditate tempora et deleniti. Modi nobis odit velit et. Quibusdam autem quod est reprehenderit nesciunt ut enim et.\n\nEaque recusandae debitis aut maxime impedit modi dolorem. Reiciendis alias totam nulla unde dolore. Non cumque et aut. Sed modi aut deserunt vitae reiciendis.\n\nDignissimos corrupti maiores illo fuga laborum nemo. Velit rerum deleniti accusantium ratione dolores quibusdam aut. Est sed possimus doloribus facere nam modi. Autem ipsam ut delectus saepe.",
                "tags": "illum,ut,deleniti",
                "salary_min": "0.00",
                "salary_max": "7446.00",
                "salary_type_id": "2",
                "negotiable": "1",
                "start_date": "2021-03-26",
                "application_url": null,
                "contact_name": "Alysha Funk",
                "email": "gisselle.reichel@hotmail.com",
                "phone": "+12293474377",
                "phone_hidden": "0",
                "city_id": "47585",
                "lat": "43.43",
                "lon": "-96.70",
                "address": null,
                "ip_addr": "84.211.186.160",
                "visits": "43725",
                "tmp_token": null,
                "email_token": null,
                "phone_token": "demoFaker",
                "verified_email": "1",
                "verified_phone": "1",
                "accept_terms": "1",
                "accept_marketing_offers": "1",
                "reviewed": "1",
                "featured": "1",
                "archived": "0",
                "archived_at": "2021-02-18T21:56:21.000000Z",
                "deletion_mail_sent_at": null,
                "partner": null,
                "created_at": "2021-03-15T15:30:46.000000Z",
                "updated_at": "2021-02-18T21:56:21.000000Z",
                "slug": "translator-3-years-of-experience",
                "created_at_formatted": "Mar 15th, 2021 at 11:30",
                "user_photo_url": "http:\/\/jobclass.laraclassifier.local\/images\/user.jpg"
            },
            {
                "id": 27,
                "country_code": "US",
                "user_id": "3",
                "company_id": "57",
                "company_name": "Stark Group",
                "logo": "files\/us\/3\/fbcdc78f207fb671dfc8ee5421ade453.png",
                "company_description": "Aliquam qui consequatur accusantium voluptas nam enim. Aut sed ipsa cupiditate sequi sit ex. Esse neque dolorem repellat nisi quia eaque. Animi aut ullam ut nisi.",
                "category_id": "2",
                "post_type_id": "5",
                "title": "Restaurant Chain Executive",
                "description": "Quae dolores qui autem et ut soluta omnis. Explicabo reiciendis nesciunt dolor iste. Totam ut eum eos ipsum molestiae commodi est enim. Autem nobis quas animi recusandae. Magnam esse ea dolores minima ipsum aut ratione.\n\nCumque est a aut corporis. Est rerum eos quis perspiciatis doloribus enim velit. Rerum omnis sint autem est saepe similique consectetur.\n\nProvident a aliquid qui aut odio. Eligendi qui vel numquam id aut inventore sunt. Consequatur consequatur ad quis eos.\n\nSed rerum consequatur qui qui et tempora quia. Consequatur optio voluptate sed corrupti qui dolorem esse qui. Et laudantium unde velit rem officia molestiae. Aut omnis quo consectetur et.\n\nNostrum sunt facere doloribus rem sunt aspernatur. Totam dolor error minima sed magnam esse dolorem quia. Aspernatur distinctio id nihil esse. Voluptate omnis consequuntur magni rem consectetur.",
                "tags": "sit,ducimus,incidunt",
                "salary_min": "56.00",
                "salary_max": "2821.00",
                "salary_type_id": "2",
                "negotiable": "1",
                "start_date": "2021-03-23",
                "application_url": null,
                "contact_name": "Company Demo",
                "email": "company@demosite.com",
                "phone": "+1980877677",
                "phone_hidden": "0",
                "city_id": "44987",
                "lat": "36.69",
                "lon": "-77.54",
                "address": null,
                "ip_addr": "3.79.188.28",
                "visits": "49",
                "tmp_token": null,
                "email_token": null,
                "phone_token": "demoFaker",
                "verified_email": "1",
                "verified_phone": "1",
                "accept_terms": "1",
                "accept_marketing_offers": "1",
                "reviewed": "1",
                "featured": "0",
                "archived": "0",
                "archived_at": "2021-03-30T07:20:48.000000Z",
                "deletion_mail_sent_at": null,
                "partner": null,
                "created_at": "2021-03-15T15:00:40.000000Z",
                "updated_at": "2021-03-30T07:20:48.000000Z",
                "slug": "restaurant-chain-executive",
                "created_at_formatted": "Mar 15th, 2021 at 11:00",
                "user_photo_url": "http:\/\/jobclass.laraclassifier.local\/images\/user.jpg"
            },
            {
                "id": 2171,
                "country_code": "US",
                "user_id": "731",
                "company_id": "322",
                "company_name": "Bahringer, Muller And Goldner",
                "logo": "app\/default\/picture.jpg",
                "company_description": "Odit nemo quos modi et dolores corrupti. Exercitationem eos autem aut beatae cumque cupiditate praesentium. Voluptas voluptatum eum voluptates sunt.",
                "category_id": "14",
                "post_type_id": "4",
                "title": "Wedding Coordinator 5 years of experience",
                "description": "Ut soluta minus consequatur aliquid dolore quo est. Porro minima eos autem minima ea. Vel sit velit beatae iste a quo. Ad suscipit quaerat quos necessitatibus laborum numquam fugiat.\n\nEt consequuntur consequatur libero reiciendis itaque nihil. Enim expedita quisquam harum vitae vel. Nemo amet vel porro fuga non. Odio cumque eum inventore sint.\n\nAccusamus est nesciunt sapiente id doloribus. Nesciunt qui voluptates voluptatum id rem odit architecto. Ut quia totam aut harum iusto maiores. Doloremque placeat mollitia fugit aut enim beatae ea aut.",
                "tags": "iste,accusamus,voluptas",
                "salary_min": "87.00",
                "salary_max": "74537.00",
                "salary_type_id": "2",
                "negotiable": "0",
                "start_date": "2021-03-30",
                "application_url": null,
                "contact_name": "Mose Walter",
                "email": "hadley41@gmail.com",
                "phone": "+12305375103",
                "phone_hidden": "0",
                "city_id": "47567",
                "lat": "41.55",
                "lon": "-71.47",
                "address": null,
                "ip_addr": "148.126.128.114",
                "visits": "2712",
                "tmp_token": null,
                "email_token": null,
                "phone_token": "demoFaker",
                "verified_email": "1",
                "verified_phone": "1",
                "accept_terms": "1",
                "accept_marketing_offers": "0",
                "reviewed": "1",
                "featured": "0",
                "archived": "0",
                "archived_at": "2021-03-10T01:59:38.000000Z",
                "deletion_mail_sent_at": null,
                "partner": null,
                "created_at": "2021-03-15T12:58:55.000000Z",
                "updated_at": "2021-03-10T01:59:38.000000Z",
                "slug": "wedding-coordinator-5-years-of-experience",
                "created_at_formatted": "Mar 15th, 2021 at 08:58",
                "user_photo_url": "http:\/\/jobclass.laraclassifier.local\/images\/user.jpg"
            },
            {
                "id": 8,
                "country_code": "US",
                "user_id": "2",
                "company_id": "10",
                "company_name": "Rau LLC",
                "logo": "files\/us\/2\/36848896b7b0f344d7803738fa5f1bbe.png",
                "company_description": "Ea nihil consequatur amet. Commodi quia odio adipisci ab delectus consequatur. Accusantium voluptatem voluptas officiis asperiores architecto.",
                "category_id": "11",
                "post_type_id": "6",
                "title": "Looking for Software Ninjaneer",
                "description": "Sed et magni harum sunt modi eveniet. Voluptate aut velit sunt. Corporis suscipit dicta temporibus perspiciatis aperiam. Voluptatem perferendis quia sint voluptatem aspernatur ea cupiditate.\n\nQuis reiciendis aut asperiores iusto. Dolorem officia tempore quo magni dolores. Aspernatur natus et ut quo esse.\n\nEst quod suscipit architecto vel consequuntur commodi et aliquam. Veniam fugit maxime aut sit consequatur quod veritatis. Quia et quas neque ducimus unde aut voluptate. Eaque odit dolor eum voluptatem ex.",
                "tags": "ut,consequuntur,beatae",
                "salary_min": "57.00",
                "salary_max": "219.00",
                "salary_type_id": "1",
                "negotiable": "0",
                "start_date": "2021-03-29",
                "application_url": null,
                "contact_name": "Admin Demo",
                "email": "admin@demosite.com",
                "phone": "+1876675678",
                "phone_hidden": "0",
                "city_id": "42954",
                "lat": "26.66",
                "lon": "-80.24",
                "address": null,
                "ip_addr": "165.56.44.189",
                "visits": "3186",
                "tmp_token": null,
                "email_token": null,
                "phone_token": "demoFaker",
                "verified_email": "1",
                "verified_phone": "1",
                "accept_terms": "1",
                "accept_marketing_offers": "1",
                "reviewed": "1",
                "featured": "1",
                "archived": "0",
                "archived_at": "2021-03-12T21:55:31.000000Z",
                "deletion_mail_sent_at": null,
                "partner": null,
                "created_at": "2021-03-15T09:31:44.000000Z",
                "updated_at": "2021-03-12T21:55:31.000000Z",
                "slug": "looking-for-software-ninjaneer",
                "created_at_formatted": "Mar 15th, 2021 at 05:31",
                "user_photo_url": "http:\/\/jobclass.laraclassifier.local\/images\/user.jpg"
            },
            {
                "id": 39,
                "country_code": "US",
                "user_id": "3",
                "company_id": "43",
                "company_name": "Berge Group",
                "logo": "files\/us\/3\/570a41c06edaf300ed727454d8feb2f4.png",
                "company_description": "Animi et inventore omnis minima quo. Sunt et ratione nesciunt.",
                "category_id": "6",
                "post_type_id": "4",
                "title": "Finance Manager to hire",
                "description": "Voluptatum occaecati accusamus error qui. Repudiandae et voluptatem debitis ipsum nam praesentium. Debitis rerum architecto dolorum.\n\nLabore quia odio nihil sapiente alias tempore placeat. Nihil voluptatibus esse doloribus numquam quia. Quisquam rerum quidem voluptatem quo et esse omnis. Similique et minima voluptates tempora sit qui.\n\nVoluptate a labore et quia. Blanditiis est qui nobis commodi voluptas soluta eveniet. Nisi ex autem deserunt eos. Consequatur omnis et aut rerum iste eveniet voluptatem.\n\nVel ducimus sed debitis iusto optio. Quos ut officia consequatur odio facilis quod rerum.\n\nMolestiae numquam hic eum consectetur voluptas quia soluta. Veritatis quidem similique ducimus commodi tempora. Ducimus ab quam qui corrupti ea voluptatem sequi.",
                "tags": "est,voluptatem,aut",
                "salary_min": "67.00",
                "salary_max": "339.00",
                "salary_type_id": "1",
                "negotiable": "1",
                "start_date": "2021-04-05",
                "application_url": null,
                "contact_name": "Company Demo",
                "email": "company@demosite.com",
                "phone": "+1980877677",
                "phone_hidden": "0",
                "city_id": "44548",
                "lat": "35.34",
                "lon": "-89.90",
                "address": null,
                "ip_addr": "91.25.71.17",
                "visits": "19",
                "tmp_token": null,
                "email_token": null,
                "phone_token": "demoFaker",
                "verified_email": "1",
                "verified_phone": "1",
                "accept_terms": "1",
                "accept_marketing_offers": "0",
                "reviewed": "1",
                "featured": "0",
                "archived": "0",
                "archived_at": "2021-03-10T02:30:51.000000Z",
                "deletion_mail_sent_at": null,
                "partner": null,
                "created_at": "2021-03-15T09:28:40.000000Z",
                "updated_at": "2021-03-10T02:30:51.000000Z",
                "slug": "finance-manager-to-hire",
                "created_at_formatted": "Mar 15th, 2021 at 05:28",
                "user_photo_url": "http:\/\/jobclass.laraclassifier.local\/images\/user.jpg"
            },
            {
                "id": 885,
                "country_code": "US",
                "user_id": "2126",
                "company_id": "93",
                "company_name": "Quitzon-Rice",
                "logo": "app\/default\/picture.jpg",
                "company_description": "Enim enim quasi nihil ea. Et aut eveniet sit. Consequatur fuga esse numquam itaque dolores voluptas voluptas molestiae.",
                "category_id": "14",
                "post_type_id": "7",
                "title": "Immediate: Plumber",
                "description": "Nam perspiciatis aspernatur perferendis sit et eaque ipsam. Et recusandae beatae est ea dicta soluta. Voluptas asperiores sequi distinctio facere. Optio distinctio voluptas sapiente.\n\nIure et omnis doloribus illum repellendus omnis vel. Praesentium est quia at dolor minus laborum quod. Saepe est voluptatibus rem.",
                "tags": "natus,fuga,optio",
                "salary_min": "89.00",
                "salary_max": "624.00",
                "salary_type_id": "2",
                "negotiable": "0",
                "start_date": "2021-03-17",
                "application_url": null,
                "contact_name": "Alberta Kozey",
                "email": "hertha37@hotmail.com",
                "phone": "+16392618592",
                "phone_hidden": "0",
                "city_id": "46442",
                "lat": "40.77",
                "lon": "-74.20",
                "address": null,
                "ip_addr": "91.176.56.157",
                "visits": "21833",
                "tmp_token": null,
                "email_token": null,
                "phone_token": "demoFaker",
                "verified_email": "1",
                "verified_phone": "1",
                "accept_terms": "1",
                "accept_marketing_offers": "0",
                "reviewed": "1",
                "featured": "0",
                "archived": "0",
                "archived_at": "2021-02-18T15:38:10.000000Z",
                "deletion_mail_sent_at": null,
                "partner": null,
                "created_at": "2021-03-13T17:44:32.000000Z",
                "updated_at": "2021-02-18T15:38:10.000000Z",
                "slug": "immediate-plumber",
                "created_at_formatted": "Mar 13th, 2021 at 12:44",
                "user_photo_url": "http:\/\/jobclass.laraclassifier.local\/images\/user.jpg"
            },
            {
                "id": 432,
                "country_code": "US",
                "user_id": "1382",
                "company_id": "387",
                "company_name": "O'Connell And Sons",
                "logo": "app\/default\/picture.jpg",
                "company_description": "Nemo fugiat quaerat ut amet unde dolorem. Iusto quibusdam natus quas pariatur. Eligendi fugiat temporibus doloribus asperiores esse. Iste sequi reiciendis et doloremque dolorem.",
                "category_id": "6",
                "post_type_id": "5",
                "title": "Junior Speech Pathologist",
                "description": "Sunt quia assumenda sit provident. Maiores est nihil aut quaerat nobis sequi officia alias. Voluptatem non eum voluptatem quia modi molestiae a. Nihil deserunt tempore vel atque nam sunt facilis. Et laudantium sunt vitae.\n\nIn quae repudiandae fuga voluptatem. Quis deleniti omnis voluptatem temporibus ut. Mollitia blanditiis ab aut blanditiis est perferendis aut deserunt. Minus hic consectetur molestiae.\n\nRerum tenetur expedita ut qui voluptates repudiandae. Cupiditate velit sed error. Dolor eius qui accusantium est hic.",
                "tags": "quo,cumque,numquam",
                "salary_min": "10.00",
                "salary_max": "441.00",
                "salary_type_id": "1",
                "negotiable": "0",
                "start_date": "2021-04-05",
                "application_url": null,
                "contact_name": "Abbigail Keebler",
                "email": "feest.haleigh@yahoo.com",
                "phone": "+13368511369",
                "phone_hidden": "0",
                "city_id": "46363",
                "lat": "43.70",
                "lon": "-72.29",
                "address": null,
                "ip_addr": "23.145.49.161",
                "visits": "69",
                "tmp_token": null,
                "email_token": null,
                "phone_token": "demoFaker",
                "verified_email": "1",
                "verified_phone": "1",
                "accept_terms": "1",
                "accept_marketing_offers": "1",
                "reviewed": "1",
                "featured": "1",
                "archived": "0",
                "archived_at": "2021-02-16T15:49:50.000000Z",
                "deletion_mail_sent_at": null,
                "partner": null,
                "created_at": "2021-03-13T09:56:03.000000Z",
                "updated_at": "2021-02-16T15:49:50.000000Z",
                "slug": "junior-speech-pathologist",
                "created_at_formatted": "Mar 13th, 2021 at 04:56",
                "user_photo_url": "http:\/\/jobclass.laraclassifier.local\/images\/user.jpg"
            },
            {
                "id": 1249,
                "country_code": "US",
                "user_id": "1289",
                "company_id": "512",
                "company_name": "Hane LLC",
                "logo": "app\/default\/picture.jpg",
                "company_description": "Voluptatem aut at velit aut ipsam sapiente. Voluptatem aut ut reiciendis quo. Et ut et fugiat ut deserunt molestiae et aperiam. In nisi in facere.",
                "category_id": "8",
                "post_type_id": "3",
                "title": "Hiring Operations Director",
                "description": "Ad qui et ex earum veniam minima eveniet. Assumenda voluptas repellat nulla nihil ducimus. Ut ut perferendis suscipit.\n\nFugiat distinctio quisquam sit quidem recusandae est. Nulla expedita qui quae. Illum aut est minus officia dolores necessitatibus. Veniam ut aut numquam quia sed optio.\n\nUnde aut voluptatum nesciunt. Illo est debitis beatae aut rerum. Corrupti quibusdam nihil distinctio soluta officia et ducimus.\n\nOmnis ut quia sequi nulla totam iusto voluptatem. Et nisi nam est nobis delectus est.",
                "tags": "inventore,eveniet,qui",
                "salary_min": "14.00",
                "salary_max": "76791.00",
                "salary_type_id": "1",
                "negotiable": "0",
                "start_date": "2021-03-23",
                "application_url": null,
                "contact_name": "Mauricio Orn",
                "email": "grady00@yahoo.com",
                "phone": "+18197893173",
                "phone_hidden": "0",
                "city_id": "47266",
                "lat": "40.14",
                "lon": "-84.24",
                "address": null,
                "ip_addr": "133.239.58.42",
                "visits": "357",
                "tmp_token": null,
                "email_token": null,
                "phone_token": "demoFaker",
                "verified_email": "1",
                "verified_phone": "1",
                "accept_terms": "1",
                "accept_marketing_offers": "1",
                "reviewed": "1",
                "featured": "0",
                "archived": "0",
                "archived_at": "2021-02-26T10:14:10.000000Z",
                "deletion_mail_sent_at": null,
                "partner": null,
                "created_at": "2021-03-13T06:03:11.000000Z",
                "updated_at": "2021-02-26T10:14:10.000000Z",
                "slug": "hiring-operations-director",
                "created_at_formatted": "Mar 13th, 2021 at 01:03",
                "user_photo_url": "http:\/\/jobclass.laraclassifier.local\/images\/user.jpg"
            }
        ]
    },
    "extra": {
        "count": null,
        "preSearch": []
    }
}

Request      

GET api/posts

Query Parameters

embed  string optional  
Comma-separated list of the post relationships for Eager Loading. Possible values: user,category,postType,city,latestPayment,savedByLoggedUser,pictures

Get post

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/posts/2?embed=exercitationem&detailed=" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/posts/2"
);

let params = {
    "embed": "exercitationem",
    "detailed": "",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/posts/2',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'embed'=> 'exercitationem',
            'detailed'=> '',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (200):

{
    "success": true,
    "message": null,
    "result": {
        "id": 2,
        "country_code": "US",
        "user_id": "2",
        "company_id": "16",
        "company_name": "Turner, O'Conner And Tillman",
        "logo": "files\/us\/2\/bbb05214f9ddab0d69fe44de9f7d300b.png",
        "company_description": "Eos molestiae placeat sequi eaque sed iusto. Reiciendis magnam maiores reiciendis nihil. Quod aut consequuntur facilis illum itaque a sunt. Fuga nesciunt et aut ut.",
        "category_id": "12",
        "post_type_id": "6",
        "title": "Conservation Volunteer Junior",
        "description": "Illo sunt illum sit ullam. Vitae quis nemo soluta cumque ut autem. Facilis consequatur sequi a voluptas.\n\nDucimus sint velit officia. Totam debitis non quo aut non. Voluptate laudantium et aut et unde. Dolorem nulla aut adipisci et autem.\n\nDoloremque saepe est et. Eos dolores quia adipisci ut excepturi. Temporibus voluptas amet nihil aperiam voluptatibus est voluptas. Unde rerum a praesentium non.",
        "tags": "perspiciatis,aut,ut",
        "salary_min": "65.00",
        "salary_max": "8627.00",
        "salary_type_id": "1",
        "negotiable": "1",
        "start_date": "2021-04-07",
        "application_url": null,
        "contact_name": "Admin Demo",
        "email": "admin@demosite.com",
        "phone": "+1876675678",
        "phone_hidden": "0",
        "city_id": "44398",
        "lat": "34.30",
        "lon": "-79.88",
        "address": null,
        "ip_addr": "111.216.155.90",
        "visits": 69,
        "tmp_token": null,
        "email_token": null,
        "phone_token": "demoFaker",
        "verified_email": "1",
        "verified_phone": "1",
        "accept_terms": "1",
        "accept_marketing_offers": "0",
        "reviewed": "1",
        "featured": "1",
        "archived": "0",
        "archived_at": "2021-06-25T16:49:15.000000Z",
        "deletion_mail_sent_at": null,
        "partner": null,
        "created_at": "2021-03-06T09:38:59.000000Z",
        "updated_at": "2021-06-25T16:49:15.000000Z",
        "slug": "conservation-volunteer-junior",
        "created_at_formatted": "Mar 6th, 2021 at 04:38",
        "user_photo_url": "http:\/\/jobclass.laraclassifier.local\/images\/user.jpg"
    }
}

Request      

GET api/posts/{id}

URL Parameters

id  integer optional  
The post's ID.

Query Parameters

embed  string optional  
Comma-separated list of the post relationships for Eager Loading. Possible values: user,category,postType,city,latestPayment,savedByLoggedUser,pictures

detailed  boolean optional  
Allow to get the post's details with all its relationships (No need to set the 'embed' parameter).

Store post

requires authentication

For both types of post's creation (Single step or Multi steps). Note: The field 'admin_code' is only available when the post's country's 'admin_type' column is set to 1 or 2 and the 'admin_field_active' column is set to 1.

Example request:

curl -X POST \
    "https://jobclass.laraclassifier.local/api/posts" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs" \
    -d ''
const url = new URL(
    "https://jobclass.laraclassifier.local/api/posts"
);

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

let body = 

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://jobclass.laraclassifier.local/api/posts',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'json' => [
            'category_id' => 1,
            'post_type_id' => 1,
            'title' => 'John Doe',
            'description' => 'Beatae placeat atque tempore consequatur animi magni omnis.',
            'salary_type_id' => 'consectetur',
            'contact_name' => 'John Doe',
            'email' => 'john.doe@domain.tld',
            'phone' => '+17656766467',
            'city_id' => 11,
            'start_date' => [],
            'accept_terms' => false,
            'company' => [
                'name' => 'enim',
                'description' => 'rem',
                [
                    'name' => 'Foo Inc',
                    'logo' => null,
                    'description' => 'Nostrum quia est aut quas.',
                ],
            ],
            'country_code' => 'US',
            'company_id' => 11,
            'admin_code' => '0',
            'price' => 5000,
            'negotiable' => false,
            'phone_hidden' => false,
            'ip_addr' => 'magni',
            'accept_marketing_offers' => false,
            'is_permanent' => true,
            'tags' => 'car,automotive,tesla,cyber,truck',
            'package_id' => 2,
            'payment_method_id' => 5,
            'captcha_key' => 'rerum',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (422):

{
    "success": false,
    "message": "An error occurred while validating the data.",
    "errors": {
        "category_id": [
            "The category field is required."
        ],
        "post_type_id": [
            "The post type field is required."
        ],
        "title": [
            "The title field is required."
        ],
        "description": [
            "The description field is required."
        ],
        "salary_type_id": [
            "The salary type id field is required."
        ],
        "contact_name": [
            "The name field is required."
        ],
        "email": [
            "The email address field is required."
        ],
        "phone": [
            "The phone field is required when email address is not present."
        ],
        "city_id": [
            "The city field is required."
        ],
        "accept_terms": [
            "The terms must be accepted."
        ],
        "company.name": [
            "The company name field is required."
        ],
        "company.description": [
            "The company description field is required."
        ]
    }
}

Request      

POST api/posts

Body Parameters

category_id  integer  
The category's ID.

post_type_id  integer optional  
The post type's ID.

title  string  
The post's title.

description  string  
The post's description.

salary_type_id  string  

contact_name  string  
The post's author name.

email  string optional  
The post's author email address (required if mobile phone number doesn't exist).

phone  string optional  
The post's author mobile number (required if email doesn't exist).

city_id  integer  
The city's ID.

start_date  string optional  

accept_terms  boolean  
Accept the website terms and conditions.

company  object optional  

company[].name  string  
The company's name (required when 'company_id' is not set).

company[].description  string  
The company's description (required when 'company_id' is not set).

company[].logo  file optional  
The company's logo (available when 'company_id' is not set).

country_code  string  
The code of the user's country.

company_id  integer optional  
The job company's ID.

admin_code  string optional  
The administrative division's code.

price  integer  
The price.

negotiable  boolean optional  
Negotiable price or no.

phone_hidden  boolean optional  
Mobile phone number will be hidden in public or no.

ip_addr  string optional  
The post's author IP address.

accept_marketing_offers  boolean optional  
Accept to receive marketing offers or no.

is_permanent  boolean optional  
Is it permanent post or no.

tags  string optional  
Comma-separated tags list.

package_id  integer  
The package's ID.

payment_method_id  integer optional  
The payment method's ID (required when the selected package's price is > 0).

captcha_key  string optional  
Key generated by the CAPTCHA endpoint calling (Required if the CAPTCHA verification is enabled from the Admin panel).

Update post

requires authentication

Note: The fields 'pictures', 'package_id' and 'payment_method_id' are only available with the single step post edition. The field 'admin_code' is only available when the post's country's 'admin_type' column is set to 1 or 2 and the 'admin_field_active' column is set to 1.

Example request:

curl -X PUT \
    "https://jobclass.laraclassifier.local/api/posts/et" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs" \
    -d ''
const url = new URL(
    "https://jobclass.laraclassifier.local/api/posts/et"
);

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

let body = 

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://jobclass.laraclassifier.local/api/posts/et',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'json' => [
            'category_id' => 1,
            'post_type_id' => 1,
            'title' => 'John Doe',
            'description' => 'Beatae placeat atque tempore consequatur animi magni omnis.',
            'salary_type_id' => 'facilis',
            'contact_name' => 'John Doe',
            'email' => 'john.doe@domain.tld',
            'phone' => '+17656766467',
            'city_id' => 5,
            'start_date' => [],
            'accept_terms' => false,
            'company' => [
                'name' => 'sint',
                'description' => 'et',
                [
                    'name' => 'Foo Inc',
                    'logo' => null,
                    'description' => 'Nostrum quia est aut quas.',
                ],
            ],
            'country_code' => 'US',
            'company_id' => 5,
            'admin_code' => '0',
            'price' => 5000,
            'negotiable' => false,
            'phone_hidden' => false,
            'ip_addr' => 'veritatis',
            'accept_marketing_offers' => true,
            'is_permanent' => false,
            'tags' => 'car,automotive,tesla,cyber,truck',
            'package_id' => 2,
            'payment_method_id' => 5,
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

PUT api/posts/{id}

URL Parameters

id  string  

Body Parameters

category_id  integer  
The category's ID.

post_type_id  integer optional  
The post type's ID.

title  string  
The post's title.

description  string  
The post's description.

salary_type_id  string  

contact_name  string  
The post's author name.

email  string optional  
The post's author email address (required if mobile phone number doesn't exist).

phone  string optional  
The post's author mobile number (required if email doesn't exist).

city_id  integer  
The city's ID.

start_date  string optional  

accept_terms  boolean  
Accept the website terms and conditions.

company  object optional  

company[].name  string  
The company's name (required when 'company_id' is not set).

company[].description  string  
The company's description (required when 'company_id' is not set).

company[].logo  file optional  
The company's logo (available when 'company_id' is not set).

country_code  string  
The code of the user's country.

company_id  integer optional  
The job company's ID.

admin_code  string optional  
The administrative division's code.

price  integer  
The price.

negotiable  boolean optional  
Negotiable price or no.

phone_hidden  boolean optional  
Mobile phone number will be hidden in public or no.

ip_addr  string optional  
The post's author IP address.

accept_marketing_offers  boolean optional  
Accept to receive marketing offers or no.

is_permanent  boolean optional  
Is it permanent post or no.

tags  string optional  
Comma-separated tags list.

package_id  integer  
The package's ID.

payment_method_id  integer optional  
The payment method's ID (required when the selected package's price is > 0).

Delete post(s)

requires authentication

Example request:

curl -X DELETE \
    "https://jobclass.laraclassifier.local/api/posts/quia" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/posts/quia"
);

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://jobclass.laraclassifier.local/api/posts/quia',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

DELETE api/posts/{ids}

URL Parameters

ids  string  
The ID or comma-separated IDs list of post(s).

Email: Re-send link

Re-send email verification link to the user

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/posts/excepturi/verify/resend/email?entitySlug=users" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/posts/excepturi/verify/resend/email"
);

let params = {
    "entitySlug": "users",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/posts/excepturi/verify/resend/email',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'entitySlug'=> 'users',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

GET api/posts/{id}/verify/resend/email

URL Parameters

id  string  

Query Parameters

entitySlug  string optional  
The slug of the entity to verify ('users' or 'posts').

SMS: Re-send code

Re-send mobile phone verification token by SMS

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/posts/aperiam/verify/resend/sms?entitySlug=users" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/posts/aperiam/verify/resend/sms"
);

let params = {
    "entitySlug": "users",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/posts/aperiam/verify/resend/sms',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'entitySlug'=> 'users',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

GET api/posts/{id}/verify/resend/sms

URL Parameters

id  string  

Query Parameters

entitySlug  string optional  
The slug of the entity to verify ('users' or 'posts').

Verification

Verify the user's email address or mobile phone number

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/posts/verify/esse/qui?entitySlug=users" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/posts/verify/esse/qui"
);

let params = {
    "entitySlug": "users",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/posts/verify/esse/qui',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'entitySlug'=> 'users',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

GET api/posts/verify/{field}/{token?}

URL Parameters

field  string  

token  string optional  

Query Parameters

entitySlug  string optional  
The slug of the entity to verify ('users' or 'posts').

Resumes

List resumes

requires authentication

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/resumes?sort=blanditiis" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/resumes"
);

let params = {
    "sort": "blanditiis",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/resumes',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'sort'=> 'blanditiis',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (401):

{
    "success": false,
    "message": "Unauthenticated or Token Expired, Please Login",
    "result": null,
    "error_code": 1
}

Request      

GET api/resumes

Query Parameters

sort  string optional  
The companies order (Order by DESC with the given column. Use "-" as prefix to order by ASC). Possible values: created_at, name or ...

Get resume

requires authentication

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/resumes/doloribus" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/resumes/doloribus"
);

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/resumes/doloribus',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

GET api/resumes/{id}

URL Parameters

id  string  

Store resume

requires authentication

Example request:

curl -X POST \
    "https://jobclass.laraclassifier.local/api/resumes" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs" \
const url = new URL(
    "https://jobclass.laraclassifier.local/api/resumes"
);

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://jobclass.laraclassifier.local/api/resumes',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (401):

{
    "success": false,
    "message": "Unauthenticated or Token Expired, Please Login",
    "result": null,
    "error_code": 1
}

Request      

POST api/resumes

Body Parameters

resume  object optional  

resume[].country_code  string  
The code of the user's country.

resume[].name  string optional  
The resume's name.

resume[].filename  file  
The resume's attached file.

Update resume

requires authentication

Example request:

curl -X PUT \
    "https://jobclass.laraclassifier.local/api/resumes/non" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs" \
const url = new URL(
    "https://jobclass.laraclassifier.local/api/resumes/non"
);

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://jobclass.laraclassifier.local/api/resumes/non',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

PUT api/resumes/{id}

URL Parameters

id  string  

Body Parameters

resume  object optional  

resume[].name  string optional  
The resume's name.

resume[].filename  file  
The resume's attached file.

Delete resume(s)

requires authentication

Example request:

curl -X DELETE \
    "https://jobclass.laraclassifier.local/api/resumes/assumenda" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/resumes/assumenda"
);

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://jobclass.laraclassifier.local/api/resumes/assumenda',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

DELETE api/resumes/{ids}

URL Parameters

ids  string  
The ID or comma-separated IDs list of resume(s).

Saved Posts

List saved posts

requires authentication

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/savedPosts?country_code=US&sort=facere" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/savedPosts"
);

let params = {
    "country_code": "US",
    "sort": "facere",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/savedPosts',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'country_code'=> 'US',
            'sort'=> 'facere',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (401):

{
    "success": false,
    "message": "Unauthenticated or Token Expired, Please Login",
    "result": null,
    "error_code": 1
}

Request      

GET api/savedPosts

Query Parameters

country_code  string  
The code of the user's country.

sort  string  
The sorting parameter. Sort by ascending with the prefix (-) or by descending without this prefix.

Delete saved post(s)

requires authentication

Example request:

curl -X DELETE \
    "https://jobclass.laraclassifier.local/api/savedPosts/quia" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/savedPosts/quia"
);

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://jobclass.laraclassifier.local/api/savedPosts/quia',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

DELETE api/savedPosts/{ids}

URL Parameters

ids  string  
The ID or comma-separated IDs list of saved post(s).

Saved Searches

List saved searches

requires authentication

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/savedSearches" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/savedSearches"
);

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/savedSearches',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (401):

{
    "success": false,
    "message": "Unauthenticated or Token Expired, Please Login",
    "result": null,
    "error_code": 1
}

Request      

GET api/savedSearches

Delete saved search(es)

requires authentication

Example request:

curl -X DELETE \
    "https://jobclass.laraclassifier.local/api/savedSearches/maxime" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/savedSearches/maxime"
);

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://jobclass.laraclassifier.local/api/savedSearches/maxime',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

DELETE api/savedSearches/{ids}

URL Parameters

ids  string  
The ID or comma-separated IDs list of saved search(es).

Settings

List settings

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/settings" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/settings"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/settings',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (429):

{
    "success": false,
    "message": "Too Many Requests,Please Slow Down",
    "result": null,
    "error_code": 1
}

Request      

GET api/settings

Get setting

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/settings/ut" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/settings/ut"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/settings/ut',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (429):

{
    "success": false,
    "message": "Too Many Requests,Please Slow Down",
    "result": null,
    "error_code": 1
}

Request      

GET api/settings/{key}

URL Parameters

key  string  

Social Auth

Get target URL

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/auth/recusandae" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/auth/recusandae"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/auth/recusandae',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

GET api/auth/{provider}

URL Parameters

provider  string  

Get user info

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/auth/labore/callback" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/auth/labore/callback"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/auth/labore/callback',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

GET api/auth/{provider}/callback

URL Parameters

provider  string  

Threads

List threads

requires authentication

Get all logged user's threads Filters:

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/threads?filter=est" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/threads"
);

let params = {
    "filter": "est",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/threads',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'filter'=> 'est',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (401):

{
    "success": false,
    "message": "Unauthenticated or Token Expired, Please Login",
    "result": null,
    "error_code": 1
}

Request      

GET api/threads

Query Parameters

filter  string optional  
Filter for the list. Possible value: unread, started or important

Get thread

requires authentication

Get a thread (owned by the logged user) details

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/threads/dignissimos" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/threads/dignissimos"
);

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/threads/dignissimos',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

GET api/threads/{id}

URL Parameters

id  string  

Store thread

Start a conversation. Creation of a new thread.

Example request:

curl -X POST \
    "https://jobclass.laraclassifier.local/api/threads" \
    -H "Content-Type: multipart/form-data" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -F "from_name=John Doe" \
    -F "from_email=john.doe@domain.tld" \
    -F "from_phone=doloremque" \
    -F "body=Modi temporibus voluptas expedita voluptatibus voluptas veniam." \
    -F "post_id=2" \
    -F "resume[filename]=consequatur" \
    -F "captcha_key=consequatur" \
    -F "filename=@/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpGbn7Yk" 
const url = new URL(
    "https://jobclass.laraclassifier.local/api/threads"
);

let headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
};

const body = new FormData();
body.append('from_name', 'John Doe');
body.append('from_email', 'john.doe@domain.tld');
body.append('from_phone', 'doloremque');
body.append('body', 'Modi temporibus voluptas expedita voluptatibus voluptas veniam.');
body.append('post_id', '2');
body.append('resume[filename]', 'consequatur');
body.append('captcha_key', 'consequatur');
body.append('filename', document.querySelector('input[name="filename"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://jobclass.laraclassifier.local/api/threads',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
        ],
        'multipart' => [
            [
                'name' => 'from_name',
                'contents' => 'John Doe'
            ],
            [
                'name' => 'from_email',
                'contents' => 'john.doe@domain.tld'
            ],
            [
                'name' => 'from_phone',
                'contents' => 'doloremque'
            ],
            [
                'name' => 'body',
                'contents' => 'Modi temporibus voluptas expedita voluptatibus voluptas veniam.'
            ],
            [
                'name' => 'post_id',
                'contents' => '2'
            ],
            [
                'name' => 'resume[filename]',
                'contents' => 'consequatur'
            ],
            [
                'name' => 'captcha_key',
                'contents' => 'consequatur'
            ],
            [
                'name' => 'filename',
                'contents' => fopen('/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpGbn7Yk', 'r')
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (401):

{
    "success": false,
    "message": "Unauthenticated or Token Expired, Please Login",
    "result": null,
    "error_code": 1
}

Request      

POST api/threads

Body Parameters

from_name  string  
The thread's creator name.

from_email  string optional  
The thread's creator email address (required if mobile phone number doesn't exist).

from_phone  string optional  
The thread's creator mobile phone number (required if email doesn't exist).

body  string  
The name of the user.

post_id  integer  
The related post ID.

resume  object optional  

resume.filename  string  

filename  file optional  
The thread attached file.

captcha_key  string optional  
Key generated by the CAPTCHA endpoint calling (Required if the CAPTCHA verification is enabled from the Admin panel).

Update thread

requires authentication

Example request:

curl -X PUT \
    "https://jobclass.laraclassifier.local/api/threads/fuga" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: multipart/form-data" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs" \
    -F "body=Modi temporibus voluptas expedita voluptatibus voluptas veniam." \
    -F "filename=@/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpscXvEy" 
const url = new URL(
    "https://jobclass.laraclassifier.local/api/threads/fuga"
);

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

const body = new FormData();
body.append('body', 'Modi temporibus voluptas expedita voluptatibus voluptas veniam.');
body.append('filename', document.querySelector('input[name="filename"]').files[0]);

fetch(url, {
    method: "PUT",
    headers,
    body,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://jobclass.laraclassifier.local/api/threads/fuga',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'multipart' => [
            [
                'name' => 'body',
                'contents' => 'Modi temporibus voluptas expedita voluptatibus voluptas veniam.'
            ],
            [
                'name' => 'filename',
                'contents' => fopen('/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpscXvEy', 'r')
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

PUT api/threads/{id}

URL Parameters

id  string  

Body Parameters

body  string  
The name of the user.

filename  file optional  
The thread attached file.

Delete thread(s)

requires authentication

Example request:

curl -X DELETE \
    "https://jobclass.laraclassifier.local/api/threads/earum" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/threads/earum"
);

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://jobclass.laraclassifier.local/api/threads/earum',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

DELETE api/threads/{ids}

URL Parameters

ids  string  
The ID or comma-separated IDs list of thread(s).

Bulk updates

requires authentication

Example request:

curl -X POST \
    "https://jobclass.laraclassifier.local/api/threads/bulkUpdate/vero?type=veniam" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/threads/bulkUpdate/vero"
);

let params = {
    "type": "veniam",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://jobclass.laraclassifier.local/api/threads/bulkUpdate/vero',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'type'=> 'veniam',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

POST api/threads/bulkUpdate/{ids?}

URL Parameters

ids  string  
The ID or comma-separated IDs list of thread(s).

Query Parameters

type  string  
The type of action to execute (markAsRead, markAsUnread, markAsImportant, markAsNotImportant or markAllAsRead).

Users

List users

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/users" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/users"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/users',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (401):

{
    "success": false,
    "message": "Unauthorized",
    "result": null,
    "error_code": 1
}

Request      

GET api/users

Get user

requires authentication

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/users/iure" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/users/iure"
);

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/users/iure',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

GET api/users/{id}

URL Parameters

id  string  

Store user

Example request:

curl -X POST \
    "https://jobclass.laraclassifier.local/api/users" \
    -H "Content-Type: multipart/form-data" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs" \
    -F "country_code=US" \
    -F "language_code=en" \
    -F "user_type_id=1" \
    -F "gender_id=1" \
    -F "name=John Doe" \
    -F "phone=+17656766467" \
    -F "phone_hidden=" \
    -F "email=john.doe@domain.tld" \
    -F "username=john_doe" \
    -F "password=js!X07$z61hLA" \
    -F "password_confirmation=js!X07$z61hLA" \
    -F "disable_comments=1" \
    -F "ip_addr=quisquam" \
    -F "accept_terms=1" \
    -F "accept_marketing_offers=" \
    -F "time_zone=America/New_York" \
    -F "captcha_key=nihil" \
    -F "photo=@/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/php2o52QY" 
const url = new URL(
    "https://jobclass.laraclassifier.local/api/users"
);

let headers = {
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

const body = new FormData();
body.append('country_code', 'US');
body.append('language_code', 'en');
body.append('user_type_id', '1');
body.append('gender_id', '1');
body.append('name', 'John Doe');
body.append('phone', '+17656766467');
body.append('phone_hidden', '');
body.append('email', 'john.doe@domain.tld');
body.append('username', 'john_doe');
body.append('password', 'js!X07$z61hLA');
body.append('password_confirmation', 'js!X07$z61hLA');
body.append('disable_comments', '1');
body.append('ip_addr', 'quisquam');
body.append('accept_terms', '1');
body.append('accept_marketing_offers', '');
body.append('time_zone', 'America/New_York');
body.append('captcha_key', 'nihil');
body.append('photo', document.querySelector('input[name="photo"]').files[0]);

fetch(url, {
    method: "POST",
    headers,
    body,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://jobclass.laraclassifier.local/api/users',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'multipart' => [
            [
                'name' => 'country_code',
                'contents' => 'US'
            ],
            [
                'name' => 'language_code',
                'contents' => 'en'
            ],
            [
                'name' => 'user_type_id',
                'contents' => '1'
            ],
            [
                'name' => 'gender_id',
                'contents' => '1'
            ],
            [
                'name' => 'name',
                'contents' => 'John Doe'
            ],
            [
                'name' => 'phone',
                'contents' => '+17656766467'
            ],
            [
                'name' => 'phone_hidden',
                'contents' => ''
            ],
            [
                'name' => 'email',
                'contents' => 'john.doe@domain.tld'
            ],
            [
                'name' => 'username',
                'contents' => 'john_doe'
            ],
            [
                'name' => 'password',
                'contents' => 'js!X07$z61hLA'
            ],
            [
                'name' => 'password_confirmation',
                'contents' => 'js!X07$z61hLA'
            ],
            [
                'name' => 'disable_comments',
                'contents' => '1'
            ],
            [
                'name' => 'ip_addr',
                'contents' => 'quisquam'
            ],
            [
                'name' => 'accept_terms',
                'contents' => '1'
            ],
            [
                'name' => 'accept_marketing_offers',
                'contents' => ''
            ],
            [
                'name' => 'time_zone',
                'contents' => 'America/New_York'
            ],
            [
                'name' => 'captcha_key',
                'contents' => 'nihil'
            ],
            [
                'name' => 'photo',
                'contents' => fopen('/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/php2o52QY', 'r')
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (422):

{
    "success": false,
    "message": "An error occurred while validating the data.",
    "errors": {
        "username": [
            "The username field must be an alphanumeric string."
        ],
        "captcha": [
            "The security code field is required."
        ]
    }
}

Request      

POST api/users

Body Parameters

country_code  string  
The code of the user's country.

language_code  string optional  
The code of the user's spoken language.

user_type_id  integer optional  
The ID of user type.

gender_id  integer optional  
The ID of gender.

name  string  
The name of the user.

photo  file optional  
The file of user photo.

phone  string optional  
The mobile phone number of the user (required if email doesn't exist).

phone_hidden  boolean optional  
Field to hide or show the user phone number in public.

email  string optional  
The user's email address (required if mobile phone number doesn't exist).

username  string optional  
The user's username.

password  string  
The user's password.

password_confirmation  string  
The confirmation of the user's password.

disable_comments  boolean optional  
Field to disable or enable comments on the user's posts.

ip_addr  string  
The user's IP address.

accept_terms  boolean  
Field to allow user to accept or not the website terms.

accept_marketing_offers  boolean optional  
Field to allow user to accept or not marketing offers sending.

time_zone  string optional  
The user's time zone.

captcha_key  string optional  
Key generated by the CAPTCHA endpoint calling (Required if the CAPTCHA verification is enabled from the Admin panel).

Update user

requires authentication

Example request:

curl -X PUT \
    "https://jobclass.laraclassifier.local/api/users/qui" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: multipart/form-data" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs" \
    -F "country_code=US" \
    -F "language_code=en" \
    -F "user_type_id=1" \
    -F "gender_id=1" \
    -F "name=John Doe" \
    -F "phone=+17656766467" \
    -F "phone_hidden=" \
    -F "email=john.doe@domain.tld" \
    -F "username=john_doe" \
    -F "password=js!X07$z61hLA" \
    -F "password_confirmation=js!X07$z61hLA" \
    -F "disable_comments=1" \
    -F "ip_addr=asperiores" \
    -F "accept_terms=1" \
    -F "accept_marketing_offers=" \
    -F "time_zone=America/New_York" \
    -F "photo=@/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpN07MYo" 
const url = new URL(
    "https://jobclass.laraclassifier.local/api/users/qui"
);

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "multipart/form-data",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

const body = new FormData();
body.append('country_code', 'US');
body.append('language_code', 'en');
body.append('user_type_id', '1');
body.append('gender_id', '1');
body.append('name', 'John Doe');
body.append('phone', '+17656766467');
body.append('phone_hidden', '');
body.append('email', 'john.doe@domain.tld');
body.append('username', 'john_doe');
body.append('password', 'js!X07$z61hLA');
body.append('password_confirmation', 'js!X07$z61hLA');
body.append('disable_comments', '1');
body.append('ip_addr', 'asperiores');
body.append('accept_terms', '1');
body.append('accept_marketing_offers', '');
body.append('time_zone', 'America/New_York');
body.append('photo', document.querySelector('input[name="photo"]').files[0]);

fetch(url, {
    method: "PUT",
    headers,
    body,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://jobclass.laraclassifier.local/api/users/qui',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'multipart' => [
            [
                'name' => 'country_code',
                'contents' => 'US'
            ],
            [
                'name' => 'language_code',
                'contents' => 'en'
            ],
            [
                'name' => 'user_type_id',
                'contents' => '1'
            ],
            [
                'name' => 'gender_id',
                'contents' => '1'
            ],
            [
                'name' => 'name',
                'contents' => 'John Doe'
            ],
            [
                'name' => 'phone',
                'contents' => '+17656766467'
            ],
            [
                'name' => 'phone_hidden',
                'contents' => ''
            ],
            [
                'name' => 'email',
                'contents' => 'john.doe@domain.tld'
            ],
            [
                'name' => 'username',
                'contents' => 'john_doe'
            ],
            [
                'name' => 'password',
                'contents' => 'js!X07$z61hLA'
            ],
            [
                'name' => 'password_confirmation',
                'contents' => 'js!X07$z61hLA'
            ],
            [
                'name' => 'disable_comments',
                'contents' => '1'
            ],
            [
                'name' => 'ip_addr',
                'contents' => 'asperiores'
            ],
            [
                'name' => 'accept_terms',
                'contents' => '1'
            ],
            [
                'name' => 'accept_marketing_offers',
                'contents' => ''
            ],
            [
                'name' => 'time_zone',
                'contents' => 'America/New_York'
            ],
            [
                'name' => 'photo',
                'contents' => fopen('/private/var/folders/r0/k0xbnx757k3fnz09_6g9rp6w0000gn/T/phpN07MYo', 'r')
            ],
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

PUT api/users/{id}

URL Parameters

id  string  

Body Parameters

country_code  string  
The code of the user's country.

language_code  string optional  
The code of the user's spoken language.

user_type_id  integer optional  
The ID of user type.

gender_id  integer optional  
The ID of gender.

name  string  
The name of the user.

photo  file optional  
The file of user photo.

phone  string optional  
The mobile phone number of the user (required if email doesn't exist).

phone_hidden  boolean optional  
Field to hide or show the user phone number in public.

email  string  
The user's email address.

username  string optional  
The user's username.

password  string  
The user's password.

password_confirmation  string  
The confirmation of the user's password.

disable_comments  boolean optional  
Field to disable or enable comments on the user's posts.

ip_addr  string  
The user's IP address.

accept_terms  boolean  
Field to allow user to accept or not the website terms.

accept_marketing_offers  boolean optional  
Field to allow user to accept or not marketing offers sending.

time_zone  string optional  
The user's time zone.

Delete user

requires authentication

Example request:

curl -X DELETE \
    "https://jobclass.laraclassifier.local/api/users/animi" \
    -H "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/users/animi"
);

let headers = {
    "Authorization": "Bearer {YOUR_AUTH_TOKEN}",
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://jobclass.laraclassifier.local/api/users/animi',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_TOKEN}',
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

DELETE api/users/{id}

URL Parameters

id  string  

Email: Re-send link

Re-send email verification link to the user

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/users/impedit/verify/resend/email?entitySlug=users" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/users/impedit/verify/resend/email"
);

let params = {
    "entitySlug": "users",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/users/impedit/verify/resend/email',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'entitySlug'=> 'users',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

GET api/users/{id}/verify/resend/email

URL Parameters

id  string  

Query Parameters

entitySlug  string optional  
The slug of the entity to verify ('users' or 'posts').

SMS: Re-send code

Re-send mobile phone verification token by SMS

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/users/vero/verify/resend/sms?entitySlug=users" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/users/vero/verify/resend/sms"
);

let params = {
    "entitySlug": "users",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/users/vero/verify/resend/sms',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'entitySlug'=> 'users',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

GET api/users/{id}/verify/resend/sms

URL Parameters

id  string  

Query Parameters

entitySlug  string optional  
The slug of the entity to verify ('users' or 'posts').

Verification

Verify the user's email address or mobile phone number

Example request:

curl -X GET \
    -G "https://jobclass.laraclassifier.local/api/users/verify/atque/commodi?entitySlug=users" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Content-Language: en" \
    -H "X-AppApiToken: a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=" \
    -H "X-AppType: docs"
const url = new URL(
    "https://jobclass.laraclassifier.local/api/users/verify/atque/commodi"
);

let params = {
    "entitySlug": "users",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Content-Language": "en",
    "X-AppApiToken": "a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=",
    "X-AppType": "docs",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());

$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://jobclass.laraclassifier.local/api/users/verify/atque/commodi',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Content-Language' => 'en',
            'X-AppApiToken' => 'a25ydDlKdDRwT2wzYjAxV1hvc0hSUmQxYklTTE1pRHU=',
            'X-AppType' => 'docs',
        ],
        'query' => [
            'entitySlug'=> 'users',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (404):

{
    "success": false,
    "message": "Page Not Found."
}

Request      

GET api/users/verify/{field}/{token?}

URL Parameters

field  string  

token  string optional  

Query Parameters

entitySlug  string optional  
The slug of the entity to verify ('users' or 'posts').