Skip to main content
POST
/
product_access
/
create
cURL
curl --request POST \
  --url https://{portalApiUrl}/product_access/create \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "user@example.com",
  "product_id": 5693,
  "registration_id": 169116,
  "source": "api"
}
'
{
  "status": true,
  "result": {
    "product_access_id": 123,
    "product_access_product_id": 123,
    "product_access_user_id": 123,
    "product_access_certificate": "<string>",
    "product_access_created_date": "2023-11-07T05:31:56Z",
    "product_access_updated_date": "2023-11-07T05:31:56Z",
    "product_access_expired_date": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.illuxi.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authentication token obtained from POST /token

Body

application/json
product_id
integer
required

ID of the product to grant access to

email
string

Email of the user to grant access to

external_id
integer | null

External identifier for the access record

invoice_id
integer | null

Associated invoice ID

registration_id
integer | null

Associated registration ID

source
string | null

Source system that triggered the access creation

Response

product_access created

status
boolean
result
object