Files
netbird-docs/src/pages/ipa/introduction.mdx
2023-05-23 21:34:03 +02:00

32 lines
1.3 KiB
Plaintext

import { Guides } from '@/components/Guides'
import { Resources } from '@/components/Resources'
export const description =
'Learn everything there is to know about the NetBird Public API.'
# NetBird REST API
Use the NetBird Public API to manage users, peers, network rules and more from inside your application or scripts to automate the setup of your mesh network. {{ className: 'lead' }}
<div className="not-prose mb-16 mt-6 flex gap-3">
<Button href="/api/guides/quickstart" arrow="right" children="Quickstart" />
</div>
## Getting started {{ anchor: false }}
To get started, it is recommended to create a [service user](/how-to/access-netbird-public-api#creating-a-service-user), that can later be used to communicate with the NetBird API.
To be able to send requests to our API you need to [authenticate](/api/guides/authentication) on each request. This can be done either by Bearer token from your identity provider or by creating a [personal access token](/api/guides/authentication#using-personal-access-tokens) in the NetBird dashboard.{{ className: 'lead' }}
<div className="not-prose">
<Button
href="/how-to/access-netbird-public-api#creating-an-access-token"
variant="text"
arrow="right"
children="Get your personal access token"
/>
</div>
<Guides />
<Resources />