v1.2.0
- In Progress

Getting started

To get started, create a new application in your developer settings, then read about how to make requests for the resources you need to access using our HTTP APIs or dedicated client SDKs. When your integration is ready to go live, publish it to our integrations directory to reach the Protocol community.

Guides

Authentication

Learn how to authenticate your API requests.

Guides

Pagination

Understand how to work with paginated responses.

Guides

Errors

Read about the different types of errors returned by the API.

Guides

Webhooks

Learn how to programmatically configure webhooks for your app.

Resources

Contacts

Learn about the contact model and how to create, retrieve, update, delete, and list contacts.

Conversations

Learn about the conversation model and how to create, retrieve, update, delete, and list conversations.

Messages

Learn about the message model and how to create, retrieve, update, delete, and list messages.

Groups

Learn about the group model and how to create, retrieve, update, delete, and list groups.

Getting Started with Shadcn

Last updated 2 days ago

What is Shadcn?

Shadcn is a design system and component library for creating stunning user interfaces with Tailwind CSS and React. It provides a set of beautifully designed components that can be easily integrated into web applications to enhance the visual appeal and user experience. The components in Shadcn are highly customizable and accessible, allowing developers to create modern and responsive UIs without having to write complex CSS or JavaScript code.

Installing Shadcn

To install Shadcn in your project, you can use npm or yarn. Run the following command to add Shadcn as a dependency in your project:

npm install @shadcn/ui

After installing Shadcn, you can import the components you need in your React application and start using them to build beautiful UIs. Here's an example of how you can import a button component from Shadcn and use it in your application:

import { Button } from '@shadcn/ui';

Customizing Styles

Shadcn is built with Tailwind CSS, which means you can easily customize the styles of the components using utility classes. You can override the default styles of the components or add your own custom styles to create a unique look and feel for your application. Tailwind CSS provides a wide range of utility classes for styling elements, and you can take advantage of these classes to customize the appearance of the components in Shadcn.