Skip to main content
GET
Get User Public Keys

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Scopes

tweet.read

View all posts you can see, including those from protected accounts.

dm.read

Read all your Direct Messages.

users.read

View any account you can see, including protected accounts.

Path Parameters

id
string
required

Numeric user ID, not me. For your own keys, use the id from Get My User (GET /2/users/me). Unique identifier of a User

Pattern: ^[0-9]{1,19}$
Example:

"2244994945"

Query Parameters

public_key.fields
enum<string>[]

A comma separated list of PublicKey fields to display. The fields available for a PublicKey object.

Minimum array length: 1
Available options:
identity_public_key_signature,
juicebox_config,
public_key,
public_key_version,
signing_public_key,
user_id

Response

The request has succeeded.

data
object[]
errors
object[]