Skip to main content
POST
Ensure developer account

Authorizations

Authorization
string
header
required

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

FlowAuthorization Code
Authorization URL
https://api.x.com/2/oauth2/authorize
Token URL
https://api.x.com/2/oauth2/token
Scopes1
developer.write
Create and manage your X Developer Platform account.

Body

application/json
metadata
string

Optional provisioning-credit metadata (an opaque string, e.g. a subscription tier) to claim for the account, attributed to the calling app. Omit to just ensure the account.

Maximum string length: 64
Pattern: ^[\x00-\x{FFFF}]*$

Response

The request has succeeded.

data
object
errors
object[]