/account-abstraction/platforms/:platform/accounts

PUT

PUT /account-abstraction/platforms/:platform/accounts

The /account-abstraction/platforms/:platform/accounts endpoint allows to create a platform linked smart account for its users, e.g. a smart account used through telegram. It is designed to allow projects to create accounts on behalf of their users

circle-info

You need to link an abstract account to your api key and fund it to use this endpoint. You can check the status of your abstract account through /project.

Please reach out to the Blessnet team to get setup.

Headers

Name
Value

x-api-key

Your API key

Path Variables

Name
Mandatory?
Default
Value

:platform

Yes

The platform, e.g. telegram.

:id

Yes

The user Id for that platform.

Request Body

  • required: true

  • content: application/json:

  • schema:

    • type: object

    {
      "userIds": <userIds>[]
    }
  • description: An array of valid operations.

Response Body

Name
Type
Description

accounts

array

List of accounts created or skipped

Example Request

Response

Last updated