Skip to main content
GET
/
entries
/
{id}
JavaScript
import Whopsdk from 'whopsdk';

const client = new Whopsdk({
  apiKey: 'My API Key',
});

const entry = await client.entries.retrieve('entry_xxxxxxxxxxxx');

console.log(entry.id);
{
  "id": "entry_xxxxxxxxxxxx",
  "plan": {
    "id": "plan_xxxxxxxxxxxxx"
  },
  "product": {
    "id": "prod_xxxxxxxxxxxxx",
    "title": "<string>"
  },
  "status": "drafted",
  "user": {
    "id": "user_xxxxxxxxxxxxx",
    "username": "<string>",
    "name": "<string>",
    "email": "<string>"
  },
  "created_at": 1701406800,
  "custom_field_responses": [
    {
      "id": "cfrp_xxxxxxxxxxxxx",
      "question": "<string>",
      "answer": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

The app API key from an app from the /dashboard/developer page

Path Parameters

id
string
required
Example:

"entry_xxxxxxxxxxxx"

Response

A successful response

An object representing an entry in a raffle or waitlist.

id
string
required

The internal ID of the entry.

Example:

"entry_xxxxxxxxxxxx"

plan
object | null
required

The plan (waitlist/raffle) the entry if for.

product
object | null
required

The access pass tied to this entry, if there is one.

status
enum<string> | null
required

The status of the entry. The status of an entry to a waitlist or raffle.

Available options:
drafted,
pending,
approved,
denied,
any
user
object
required

The user who created the entry.

created_at
integer | null
required

When the entry was created.

Example:

1701406800

custom_field_responses
object[] | null
required

Responses collected from the user when submitting their entry.

I