Skip to main content
POST
/
members
/
import
cURL
curl --request POST \
  --url https://api.vaultcord.com/members/import \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "serverId": 62567,
  "userId": "720820224877789204",
  "username": "notexttospeech",
  "accessToken": "MTYxNjYwNTE3OTE0NTA5MzEy.6qrZcUqja7812RVdnEKjpzOL4CvHBFG",
  "refreshToken": "D43f5y0ahjqew82jZ4NViEr2YafMKhue"
}'
{
  "success": true,
  "message": "Pull started, see email for status"
}

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 started member pull

success
boolean
Example:

true

message
string
Example:

"Pull started, see email for status"

I