Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Details for Discord you want pulled into

serverId
integer

VaultCord server ID, you can find this from List Servers API endpoint

Example:

62567

userId
string

Discord snowflake ID for specific member/user.

Example:

"720820224877789204"

username
string

Discord username. It doesn't need to match the actual username, put any random text here if you don't know the username.

Example:

"notexttospeech"

accessToken
string
Example:

"MTYxNjYwNTE3OTE0NTA5MzEy.6qrZcUqja7812RVdnEKjpzOL4CvHBFG"

refreshToken
string
Example:

"D43f5y0ahjqew82jZ4NViEr2YafMKhue"

Response

Successfully added member auth to database

success
boolean
Example:

true

message
string
Example:

"Imported member"