Skip to Content
Anuma SDKClientInternalFunctionspostInternalNearbyActivations

postInternalNearbyActivations

postInternalNearbyActivations<ThrowOnError>(options: Options<PostInternalNearbyActivationsData, ThrowOnError>): RequestResult<PostInternalNearbyActivationsResponses, PostInternalNearbyActivationsErrors, ThrowOnError>

Defined in: src/client/sdk.gen.ts:1848 

Record a People Nearby activation

Internal server-to-server endpoint used by the nearby service. Reports that an account activated in People Nearby (created a profile and sent a first message), which is the trigger for two-sided ZETA referral rewards. Idempotent: a replayed activation returns 200 with recorded=false and creates no additional grants. An activation outside an active area, or one whose referrer is not yet resolved, is recorded and returns an empty grants array with a reason.

Type Parameters

Type ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options

Options<PostInternalNearbyActivationsData, ThrowOnError>

Returns

RequestResult<PostInternalNearbyActivationsResponses, PostInternalNearbyActivationsErrors, ThrowOnError>

Last updated on