Skip to main content
Resend Docs

Search documentation

Type to search this documentation.

On this pageOverview

Retrieve Event

GET

/

events

/

:id

Node.js
import { Resend } from 'resend';

const resend = new Resend('re_xxxxxxxxx');

const { data, error } = await resend.events.get('user.created');
PHP
$resend = Resend::client('re_xxxxxxxxx');

$resend->events->get('user.created');
Python
import resend

resend.api_key = "re_xxxxxxxxx"

resend.Events.get("user.created")
Ruby
require "resend"

Resend.api_key = "re_xxxxxxxxx"

Resend::Events.get("user.created")
Go
package main

import "github.com/resend/resend-go/v4"

func main() {
	client := resend.NewClient("re_xxxxxxxxx")

	client.Events.Get("user.created")
}
Rust
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(())
}
Java
import com.resend.Resend;
import com.resend.core.exception.ResendException;
import com.resend.services.events.model.Event;

public class Main {
    public static void main(String[] args) throws ResendException {
        Resend resend = new Resend("re_xxxxxxxxx");

        Event event = resend.events().get("user.created");
    }
}
.NET
using Resend;

IResend resend = ResendClient.Create( "re_xxxxxxxxx" );

var resp = await resend.EventRetrieveAsync( "user.created" );
Console.WriteLine( "Name={0}", resp.Content.Name );
cURL
curl -X GET 'https://api.resend.com/events/user.created' \
     -H 'Authorization: Bearer re_xxxxxxxxx'
CLI
resend events get user.created
Response
{
  "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"
}
Node.js
import { Resend } from 'resend';

const resend = new Resend('re_xxxxxxxxx');

const { data, error } = await resend.events.get('user.created');
PHP
$resend = Resend::client('re_xxxxxxxxx');

$resend->events->get('user.created');
Python
import resend

resend.api_key = "re_xxxxxxxxx"

resend.Events.get("user.created")
Ruby
require "resend"

Resend.api_key = "re_xxxxxxxxx"

Resend::Events.get("user.created")
Go
package main

import "github.com/resend/resend-go/v4"

func main() {
	client := resend.NewClient("re_xxxxxxxxx")

	client.Events.Get("user.created")
}
Rust
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(())
}
Java
import com.resend.Resend;
import com.resend.core.exception.ResendException;
import com.resend.services.events.model.Event;

public class Main {
    public static void main(String[] args) throws ResendException {
        Resend resend = new Resend("re_xxxxxxxxx");

        Event event = resend.events().get("user.created");
    }
}
.NET
using Resend;

IResend resend = ResendClient.Create( "re_xxxxxxxxx" );

var resp = await resend.EventRetrieveAsync( "user.created" );
Console.WriteLine( "Name={0}", resp.Content.Name );
cURL
curl -X GET 'https://api.resend.com/events/user.created' \
     -H 'Authorization: Bearer re_xxxxxxxxx'
CLI
resend events get user.created
JSON
{
  "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

Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu