Skip to main content
Resend Docs

Search documentation

Type to search this documentation.

On this pageOverview

Retrieve Contact Import

GET

/

contacts

/

imports

/

:id

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

const resend = new Resend('re_xxxxxxxxx');

const { data, error } = await resend.contacts.imports.get(
  '479e3145-dd38-476b-932c-529ceb705947',
);
PHP
$resend = Resend::client('re_xxxxxxxxx');

$resend->contacts->imports->get('479e3145-dd38-476b-932c-529ceb705947');
Python
import resend

resend.api_key = "re_xxxxxxxxx"

resend.Contacts.Imports.get("479e3145-dd38-476b-932c-529ceb705947")
Ruby
require "resend"

Resend.api_key = "re_xxxxxxxxx"

Resend::Contacts::Imports.get("479e3145-dd38-476b-932c-529ceb705947")
Go
package main

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

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

	client.Contacts.Imports.Get("479e3145-dd38-476b-932c-529ceb705947")
}
Rust
use resend_rs::{Resend, Result};

#[tokio::main]
async fn main() -> Result<()> {
  let resend = Resend::new("re_xxxxxxxxx");

  let _data = resend
    .contacts
    .get_import("479e3145-dd38-476b-932c-529ceb705947")
    .await?;

  Ok(())
}
Java
import com.resend.Resend;
import com.resend.services.contacts.model.GetContactImportResponseSuccess;

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

        GetContactImportResponseSuccess data = resend
                .contacts()
                .imports()
                .get("479e3145-dd38-476b-932c-529ceb705947");
    }
}
cURL
curl -X GET 'https://api.resend.com/contacts/imports/479e3145-dd38-476b-932c-529ceb705947' \
     -H 'Authorization: Bearer re_xxxxxxxxx'
CLI
resend contacts imports get 479e3145-dd38-476b-932c-529ceb705947
Response
{
  "object": "contact_import",
  "id": "479e3145-dd38-476b-932c-529ceb705947",
  "status": "completed",
  "created_at": "2026-05-15 18:32:37.823+00",
  "completed_at": "2026-05-15 18:33:42.916+00",
  "counts": {
    "total": 1200,
    "created": 800,
    "updated": 300,
    "skipped": 75,
    "failed": 25
  }
}

string

required

The Contact Import ID.

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

const resend = new Resend('re_xxxxxxxxx');

const { data, error } = await resend.contacts.imports.get(
  '479e3145-dd38-476b-932c-529ceb705947',
);
PHP
$resend = Resend::client('re_xxxxxxxxx');

$resend->contacts->imports->get('479e3145-dd38-476b-932c-529ceb705947');
Python
import resend

resend.api_key = "re_xxxxxxxxx"

resend.Contacts.Imports.get("479e3145-dd38-476b-932c-529ceb705947")
Ruby
require "resend"

Resend.api_key = "re_xxxxxxxxx"

Resend::Contacts::Imports.get("479e3145-dd38-476b-932c-529ceb705947")
Go
package main

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

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

	client.Contacts.Imports.Get("479e3145-dd38-476b-932c-529ceb705947")
}
Rust
use resend_rs::{Resend, Result};

#[tokio::main]
async fn main() -> Result<()> {
  let resend = Resend::new("re_xxxxxxxxx");

  let _data = resend
    .contacts
    .get_import("479e3145-dd38-476b-932c-529ceb705947")
    .await?;

  Ok(())
}
Java
import com.resend.Resend;
import com.resend.services.contacts.model.GetContactImportResponseSuccess;

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

        GetContactImportResponseSuccess data = resend
                .contacts()
                .imports()
                .get("479e3145-dd38-476b-932c-529ceb705947");
    }
}
cURL
curl -X GET 'https://api.resend.com/contacts/imports/479e3145-dd38-476b-932c-529ceb705947' \
     -H 'Authorization: Bearer re_xxxxxxxxx'
CLI
resend contacts imports get 479e3145-dd38-476b-932c-529ceb705947
JSON
{
  "object": "contact_import",
  "id": "479e3145-dd38-476b-932c-529ceb705947",
  "status": "completed",
  "created_at": "2026-05-15 18:32:37.823+00",
  "completed_at": "2026-05-15 18:33:42.916+00",
  "counts": {
    "total": 1200,
    "created": 800,
    "updated": 300,
    "skipped": 75,
    "failed": 25
  }
}

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