Skip to main content
POST
/
entries
/
{id}
/
approve
JavaScript
import Whop from '@whop/sdk';

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

const response = await client.entries.approve('entry_xxxxxxxxxxxx');

console.log(response.job_id);
{
  "job_id": "<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 asynchronous job.

job_id
string
required

The ID of the job.

I