Skip to main content
GET
/
packages
/
{_id}
cURL
curl --request GET \
  --url https://api.yourjobsearchgenius.ai/v1/packages/{_id} \
  --header 'Authorization: Bearer <token>'
{
  "_id": "507f1f77bcf86cd799439011",
  "checkoutLink": "https://example.com/auto-login?token=abc123",
  "name": "<string>",
  "price": 123,
  "interval": "Daily",
  "freeTrialDays": 7,
  "status": "Active"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

_id
string
required

ID of the package to get (MongoDB ObjectId)

Example:

"507f1f77bcf86cd799439011"

Response

Customers response

_id
string
Example:

"507f1f77bcf86cd799439011"

Example:

"https://example.com/auto-login?token=abc123"

name
string

The name of the package.

price
integer<int64>

The price of the package.

interval
enum<string>

The billing interval for the package. Possible values: Daily, Weekly, Bi-Weekly, Monthly, Quarterly, Yearly.

Available options:
Daily,
Weekly,
Bi-Weekly,
Monthly,
Quarterly,
Yearly
Example:

"Daily"

freeTrialDays
integer<int64>
default:0

The number of free trial days. Send 0 if no free trial days. Min:0, Max:7.

Required range: x <= 7
Example:

7

status
enum<string>

The status of the package. Possible values: Active, Inactive.

Available options:
Active,
Inactive
Example:

"Active"