Creates a link between a service (hosted on the atproto) and its InstantDB App ID.
Output
Encoding
application/jsonaccountToken
string
Required
The token for the InstantDB account
adminToken
string
Required
The InstantDB admin token
id
string
Required
The App ID
Errors
InvalidID
InvalidServiceAuth
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "query",
"errors": [
{
"name": "InvalidID"
},
{
"name": "InvalidServiceAuth"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"id",
"adminToken",
"accountToken"
],
"properties": {
"id": {
"type": "string",
"description": "The App ID"
},
"adminToken": {
"type": "string",
"description": "The InstantDB admin token"
},
"accountToken": {
"type": "string",
"description": "The token for the InstantDB account"
}
}
},
"encoding": "application/json"
},
"description": "Creates a link between a service (hosted on the atproto) and its InstantDB App ID."
}