Create Application
POST /v1/applications — createApplication
import { client, Applications } from 'anchorbrowser';
// ANCHORBROWSER_API_KEY is read from the environment by default;
// set it explicitly like this:
client.setConfig({ auth: () => 'your-api-key' });
const result = await Applications.createApplication({
body: {
source: 'https://example.com'
}
});
console.log(result);
from anchorbrowser import Anchorbrowser
# ANCHORBROWSER_API_KEY is read from the environment by default;
# set it explicitly with Anchorbrowser(api_key="your-api-key")
client = Anchorbrowser()
result = client.applications.create_application(
source="https://example.com",
)
print(result)
List Applications
GET /v1/applications — listApplications
import { client, Applications } from 'anchorbrowser';
// ANCHORBROWSER_API_KEY is read from the environment by default;
// set it explicitly like this:
client.setConfig({ auth: () => 'your-api-key' });
const result = await Applications.listApplications();
console.log(result);
from anchorbrowser import Anchorbrowser
# ANCHORBROWSER_API_KEY is read from the environment by default;
# set it explicitly with Anchorbrowser(api_key="your-api-key")
client = Anchorbrowser()
result = client.applications.list_applications()
print(result)
Get Application
GET /v1/applications/{applicationId} — getApplication
import { client, Applications } from 'anchorbrowser';
// ANCHORBROWSER_API_KEY is read from the environment by default;
// set it explicitly like this:
client.setConfig({ auth: () => 'your-api-key' });
const result = await Applications.getApplication({
path: {
applicationId: 'your-applicationId'
}
});
console.log(result);
from anchorbrowser import Anchorbrowser
# ANCHORBROWSER_API_KEY is read from the environment by default;
# set it explicitly with Anchorbrowser(api_key="your-api-key")
client = Anchorbrowser()
result = client.applications.get_application(
"your-application-id",
)
print(result)
Delete Application
DELETE /v1/applications/{applicationId} — deleteApplication
import { client, Applications } from 'anchorbrowser';
// ANCHORBROWSER_API_KEY is read from the environment by default;
// set it explicitly like this:
client.setConfig({ auth: () => 'your-api-key' });
const result = await Applications.deleteApplication({
path: {
applicationId: 'your-applicationId'
}
});
console.log(result);
from anchorbrowser import Anchorbrowser
# ANCHORBROWSER_API_KEY is read from the environment by default;
# set it explicitly with Anchorbrowser(api_key="your-api-key")
client = Anchorbrowser()
result = client.applications.delete_application(
"your-application-id",
)
print(result)
List Application Identities
GET /v1/applications/{applicationId}/identities — listApplicationIdentities
import { client, Applications } from 'anchorbrowser';
// ANCHORBROWSER_API_KEY is read from the environment by default;
// set it explicitly like this:
client.setConfig({ auth: () => 'your-api-key' });
const result = await Applications.listApplicationIdentities({
path: {
applicationId: 'your-applicationId'
}
});
console.log(result);
from anchorbrowser import Anchorbrowser
# ANCHORBROWSER_API_KEY is read from the environment by default;
# set it explicitly with Anchorbrowser(api_key="your-api-key")
client = Anchorbrowser()
result = client.applications.list_application_identities(
"your-application-id",
)
print(result)
List Application Authentication Flows
GET /v1/applications/{applicationId}/auth-flows — listAuthFlows
import { client, Applications } from 'anchorbrowser';
// ANCHORBROWSER_API_KEY is read from the environment by default;
// set it explicitly like this:
client.setConfig({ auth: () => 'your-api-key' });
const result = await Applications.listAuthFlows({
path: {
applicationId: 'your-applicationId'
}
});
console.log(result);
from anchorbrowser import Anchorbrowser
# ANCHORBROWSER_API_KEY is read from the environment by default;
# set it explicitly with Anchorbrowser(api_key="your-api-key")
client = Anchorbrowser()
result = client.applications.list_auth_flows(
"your-application-id",
)
print(result)
Create Authentication Flow
POST /v1/applications/{applicationId}/auth-flows — createAuthFlow
import { client, Applications } from 'anchorbrowser';
// ANCHORBROWSER_API_KEY is read from the environment by default;
// set it explicitly like this:
client.setConfig({ auth: () => 'your-api-key' });
const result = await Applications.createAuthFlow({
path: {
applicationId: 'your-applicationId'
},
body: {
name: 'string',
methods: ['username_password']
}
});
console.log(result);
from anchorbrowser import Anchorbrowser
# ANCHORBROWSER_API_KEY is read from the environment by default;
# set it explicitly with Anchorbrowser(api_key="your-api-key")
client = Anchorbrowser()
result = client.applications.create_auth_flow(
"your-application-id",
name="string",
methods=["username_password"],
)
print(result)
Update Authentication Flow
PATCH /v1/applications/{applicationId}/auth-flows/{authFlowId} — updateAuthFlow
import { client, Applications } from 'anchorbrowser';
// ANCHORBROWSER_API_KEY is read from the environment by default;
// set it explicitly like this:
client.setConfig({ auth: () => 'your-api-key' });
const result = await Applications.updateAuthFlow({
path: {
applicationId: 'your-applicationId',
authFlowId: 'your-authFlowId'
},
body: {}
});
console.log(result);
from anchorbrowser import Anchorbrowser
# ANCHORBROWSER_API_KEY is read from the environment by default;
# set it explicitly with Anchorbrowser(api_key="your-api-key")
client = Anchorbrowser()
result = client.applications.update_auth_flow(
"your-application-id",
"your-auth-flow-id",
)
print(result)
Delete Authentication Flow
DELETE /v1/applications/{applicationId}/auth-flows/{authFlowId} — deleteAuthFlow
import { client, Applications } from 'anchorbrowser';
// ANCHORBROWSER_API_KEY is read from the environment by default;
// set it explicitly like this:
client.setConfig({ auth: () => 'your-api-key' });
const result = await Applications.deleteAuthFlow({
path: {
applicationId: 'your-applicationId',
authFlowId: 'your-authFlowId'
}
});
console.log(result);
from anchorbrowser import Anchorbrowser
# ANCHORBROWSER_API_KEY is read from the environment by default;
# set it explicitly with Anchorbrowser(api_key="your-api-key")
client = Anchorbrowser()
result = client.applications.delete_auth_flow(
"your-application-id",
"your-auth-flow-id",
)
print(result)
Create Identity Token
POST /v1/applications/{applicationId}/tokens — createIdentityToken
import { client, Applications } from 'anchorbrowser';
// ANCHORBROWSER_API_KEY is read from the environment by default;
// set it explicitly like this:
client.setConfig({ auth: () => 'your-api-key' });
const result = await Applications.createIdentityToken({
path: {
applicationId: 'your-applicationId'
},
body: {
callbackUrl: 'https://example.com/callback'
}
});
console.log(result);
from anchorbrowser import Anchorbrowser
# ANCHORBROWSER_API_KEY is read from the environment by default;
# set it explicitly with Anchorbrowser(api_key="your-api-key")
client = Anchorbrowser()
result = client.applications.create_identity_token(
"your-application-id",
callback_url="https://example.com/callback",
)
print(result)

