import { Resend } from 'resend';
const resend = new Resend('re_xxxxxxxxx');
const { data, error } = await resend.events.get('user.created');
$resend = Resend::client('re_xxxxxxxxx');
$resend->events->get('user.created');
import resend
resend.api_key = "re_xxxxxxxxx"
resend.Events.get("user.created")
require "resend"
Resend.api_key = "re_xxxxxxxxx"
Resend::Events.get("user.created")
package main
import "github.com/resend/resend-go/v3"
func main() {
client := resend.NewClient("re_xxxxxxxxx")
client.Events.Get("user.created")
}
use resend_rs::{Resend, Result};
#[tokio::main]
async fn main() -> Result<()> {
let resend = Resend::new("re_xxxxxxxxx");
let _event = resend.events.get("user.created").await?;
Ok(())
}
import com.resend.*;
public class Main {
public static void main(String[] args) {
Resend resend = new Resend("re_xxxxxxxxx");
Event event = resend.events().get("user.created");
}
}
using Resend;
IResend resend = ResendClient.Create( "re_xxxxxxxxx" );
var resp = await resend.EventRetrieveAsync( "user.created" );
Console.WriteLine( "Name={0}", resp.Content.Name );
curl -X GET 'https://api.resend.com/events/user.created' \
-H 'Authorization: Bearer re_xxxxxxxxx'
resend events get user.created
{
"object": "event",
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "user.created",
"schema": {
"plan": "string"
},
"created_at": "2026-10-01 12:00:00.000000+00",
"updated_at": "2026-10-01 12:00:00.000000+00"
}
Retrieve Event
Retrieve a single event by ID or name.
GET
/
events
/
:id
import { Resend } from 'resend';
const resend = new Resend('re_xxxxxxxxx');
const { data, error } = await resend.events.get('user.created');
$resend = Resend::client('re_xxxxxxxxx');
$resend->events->get('user.created');
import resend
resend.api_key = "re_xxxxxxxxx"
resend.Events.get("user.created")
require "resend"
Resend.api_key = "re_xxxxxxxxx"
Resend::Events.get("user.created")
package main
import "github.com/resend/resend-go/v3"
func main() {
client := resend.NewClient("re_xxxxxxxxx")
client.Events.Get("user.created")
}
use resend_rs::{Resend, Result};
#[tokio::main]
async fn main() -> Result<()> {
let resend = Resend::new("re_xxxxxxxxx");
let _event = resend.events.get("user.created").await?;
Ok(())
}
import com.resend.*;
public class Main {
public static void main(String[] args) {
Resend resend = new Resend("re_xxxxxxxxx");
Event event = resend.events().get("user.created");
}
}
using Resend;
IResend resend = ResendClient.Create( "re_xxxxxxxxx" );
var resp = await resend.EventRetrieveAsync( "user.created" );
Console.WriteLine( "Name={0}", resp.Content.Name );
curl -X GET 'https://api.resend.com/events/user.created' \
-H 'Authorization: Bearer re_xxxxxxxxx'
resend events get user.created
{
"object": "event",
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "user.created",
"schema": {
"plan": "string"
},
"created_at": "2026-10-01 12:00:00.000000+00",
"updated_at": "2026-10-01 12:00:00.000000+00"
}
Path Parameters
import { Resend } from 'resend';
const resend = new Resend('re_xxxxxxxxx');
const { data, error } = await resend.events.get('user.created');
$resend = Resend::client('re_xxxxxxxxx');
$resend->events->get('user.created');
import resend
resend.api_key = "re_xxxxxxxxx"
resend.Events.get("user.created")
require "resend"
Resend.api_key = "re_xxxxxxxxx"
Resend::Events.get("user.created")
package main
import "github.com/resend/resend-go/v3"
func main() {
client := resend.NewClient("re_xxxxxxxxx")
client.Events.Get("user.created")
}
use resend_rs::{Resend, Result};
#[tokio::main]
async fn main() -> Result<()> {
let resend = Resend::new("re_xxxxxxxxx");
let _event = resend.events.get("user.created").await?;
Ok(())
}
import com.resend.*;
public class Main {
public static void main(String[] args) {
Resend resend = new Resend("re_xxxxxxxxx");
Event event = resend.events().get("user.created");
}
}
using Resend;
IResend resend = ResendClient.Create( "re_xxxxxxxxx" );
var resp = await resend.EventRetrieveAsync( "user.created" );
Console.WriteLine( "Name={0}", resp.Content.Name );
curl -X GET 'https://api.resend.com/events/user.created' \
-H 'Authorization: Bearer re_xxxxxxxxx'
resend events get user.created
{
"object": "event",
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "user.created",
"schema": {
"plan": "string"
},
"created_at": "2026-10-01 12:00:00.000000+00",
"updated_at": "2026-10-01 12:00:00.000000+00"
}
Was this page helpful?
⌘I