Skip to main content
POST
/
api
/
bitbucket
/
users
/bitbucket/users
curl --request POST \
  --url https://api.anysite.io/api/bitbucket/users \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "user": "<string>",
  "timeout": 300
}
'
[
  {
    "@type": "BitbucketAccount",
    "uuid": "",
    "display_name": "",
    "nickname": "<string>",
    "account_id": "<string>",
    "account_type": "",
    "account_status": "<string>",
    "is_staff": false,
    "location": "<string>",
    "created_at": "<string>",
    "image": "<string>",
    "web_url": ""
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
user
string
required

User UUID (with or without braces) or account_id. Lookup by nickname is not supported.

Minimum string length: 1
Examples:

"{250a442a-3ab3-4fcb-87c3-3c8f3df65ec7}"

"5d5355e8c6b9320d9ea5b28d"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

@type
string
default:BitbucketAccount
uuid
string
default:""
display_name
string
default:""
nickname
string | null
account_id
string | null
account_type
string
default:""
account_status
string | null
is_staff
boolean
default:false
location
string | null
created_at
string | null
image
string | null
web_url
string
default:""