curl --request POST \
--url https://api-staging.boost.xyz/users/twitter \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"accessToken": "<string>"
}'
{
"userId": "<string>",
"username": "<string>",
"accountId": "<string>",
"profileImageUrl": "<string>"
}
Add twitter details to a user profile
curl --request POST \
--url https://api-staging.boost.xyz/users/twitter \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"accessToken": "<string>"
}'
{
"userId": "<string>",
"username": "<string>",
"accountId": "<string>",
"profileImageUrl": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Success
The response is of type object
.