Skip to main content
PUT
Accept or reject an invite

Node.js SDK

🔗 SDK Method: respondChannelInvite Use this API endpoint with the Neynar Node.js SDK for typed responses and better developer experience.

Authorizations

x-api-key
string
header
default:NEYNAR_API_DOCS
required

API key to authorize requests

Body

application/json
accept
boolean
required

Accept or reject the invite

channel_id
string
required

The unique identifier of a farcaster channel

Example:

"neynar"

role
enum<string>
required

The role of a channel member

Available options:
member,
moderator,
owner
signer_uuid
string
required

UUID of the signer. signer_uuid is paired with API key, can't use a uuid made with a different API key.

Example:

"19d0c5fd-9b33-4a48-a0e2-bc7b0555baec"

Response

Success

message
string
success
boolean