Register an OAuth client
Resend does not yet have a dashboard screen for creating OAuth clients, so you register one by calling the OAuth registration endpoint, as described in the Building a Resend OAuth client guide. Registration returns the Client ID and Client Secret you enter in StackOne.
Register your OAuth client
Send a registration request to POST https://api.resend.com/oauth/register. Register a confidential client so that Resend issues a Client Secret, and include StackOne’s callback URL as a redirect URI.
- Set
client_nametoStackOne Integration. - Add StackOne’s callback URL to
redirect_uris:https://api.stackone.com/connect/oauth2/resend/callback - Include both
authorization_codeandrefresh_tokeningrant_types. Therefresh_tokengrant is required so StackOne can refresh the access token once it expires. - Set
token_endpoint_auth_methodtoclient_secret_post, because StackOne sends the client credentials in the request body when exchanging and refreshing tokens. Resend still issues a Client Secret for the confidential client. - The Client Secret is returned only once at registration and cannot be retrieved later — store it securely for use later.
Choose the scopes
Request the scopes this integration needs. Use full access for all API routes, or sending access to only send email.
Enter the credentials in StackOne
Paste the returned client_id into the Client ID field and the client_secret into the Client Secret field in the StackOne Connector profile. In the Scopes field, enter the space-separated scopes you registered, such as full_access.
Creating the StackOne Connector Profile
To create the Connector Profile in StackOne for Resend:Navigate to Connector Profiles
Create New Connector Profile
- Click + Connector Profile
- Search for and select Resend
- Select Type as OAuth 2.0
- Fill out the fields using details retrieved from your provider:
- Client ID
- Client Secret
- Scopes (Optional)
- (Optional) Select Actions to be enabled for this Connector Profile
- Click Create profile