Get email authorization

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
📘

Caching

This endpoint implements multi-layer caching to ensure optimal performance and reduce latency. Responses are cached for up to 5 minutes at both the edge network and browser levels. This applies to:

  • Successful responses (200) - Matching plans for the email domain
  • Not found responses (404) - No matching plans for the email domain

When you update plan configurations, changes may take up to 5 minutes to reflect in API responses due to caching.

Retrieve active, free plans whose allowed domains match the provided email's domain.

Pass an email query parameter. The endpoint extracts the domain and matches it against plans with configured allowed domains. Only active plans with amount = 0 and matching domains are returned. The expires_at attribute of the plan has no effect on this endpoint's output. Returns 400 if the email format is invalid.

const response = await fetch("https://www.pelcro.com/api/v1/sdk/plan/domain/authorization?site_id=1232&[email protected]", {
  method: "GET",
  headers: {
    "Accept": "application/json"
  }
});

const data = await response.json();
$response = Http::get('https://www.pelcro.com/api/v1/sdk/plan/domain/authorization', [
    'site_id' => 1232,
    'email' => '[email protected]',
]);

$data = $response->json();
Query Params
int32
required
Body Params
string
required
Headers
string
Defaults to application/json
Responses

Language
Credentials
Query
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json