curl --request POST \
--url 'https://api.noresponse.org/v1/people' \
--header "Authorization: Bearer $NORESPONSE_API_KEY" \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: request-01JA2Z8K6Q4V7W9XBCDEFGHJKM' \
--data '{
"external_id": "case-person-1042",
"name": "Jordan Example",
"email": "jordan@example.com"
}'
import { NoResponse } from "@noresponse/node";
const noResponse = new NoResponse({
apiKey: process.env["NORESPONSE_API_KEY"] ?? "",
});
async function run() {
const result = await noResponse.people.create({
idempotencyKey: "request-01JA2Z8K6Q4V7W9XBCDEFGHJKM",
body: {
externalId: "case-person-1042",
name: "Jordan Example",
email: "jordan@example.com",
},
});
console.log(result);
}
run();
from noresponse import NoResponse
import os
with NoResponse(
api_key=os.getenv("NORESPONSE_API_KEY", ""),
) as no_response:
res = no_response.people.create(idempotency_key="request-01JA2Z8K6Q4V7W9XBCDEFGHJKM", external_id="case-person-1042", name="Jordan Example", email="jordan@example.com", phone="+14155550100", company="Example Ltd", city="Melbourne", handles=[
{
"platform": "bluesky",
"handle": "jordan_example",
},
], person_id="per_01JA2Z8K6Q4V7W9XBCDEFGHJKM")
# Handle response
print(res)
package main
import(
"context"
"os"
noresponse "github.com/noresponsehq/go/v14"
"github.com/noresponsehq/go/v14/models/components"
"log"
)
func main() {
ctx := context.Background()
s := noresponse.New(
noresponse.WithSecurity(os.Getenv("NORESPONSE_API_KEY")),
)
res, err := s.People.Create(ctx, components.WorkspacePersonRequest{
ExternalID: noresponse.Pointer("case-person-1042"),
Name: noresponse.Pointer("Jordan Example"),
Email: noresponse.Pointer("jordan@example.com"),
}, noresponse.Pointer("request-01JA2Z8K6Q4V7W9XBCDEFGHJKM"))
if err != nil {
log.Fatal(err)
}
if res != nil {
// handle response
}
}
package hello.world;
import java.lang.Exception;
import org.noresponse.NoResponse;
import org.noresponse.models.errors.AuthenticationException;
import org.noresponse.models.errors.BadRequestException;
import org.noresponse.models.errors.ConflictException;
import org.noresponse.models.errors.NotFoundException;
import org.noresponse.models.errors.PermissionDeniedException;
import org.noresponse.models.errors.RateLimitException;
import org.noresponse.models.operations.CreateWorkspacePersonResponse;
import org.noresponse.models.shared.WorkspacePersonRequest;
public class Application {
public static void main(String[] args) throws Exception {
NoResponse sdk = NoResponse.builder()
.apiKey(System.getenv().getOrDefault("NORESPONSE_API_KEY", ""))
.build();
CreateWorkspacePersonResponse res = sdk.people().create()
.idempotencyKey("request-01JA2Z8K6Q4V7W9XBCDEFGHJKM")
.body(WorkspacePersonRequest.builder()
.externalId("case-person-1042")
.name("Jordan Example")
.email("jordan@example.com")
.build())
.call();
if (res.workspacePersonResult().isPresent()) {
System.out.println(res.workspacePersonResult().get());
}
}
}
using NoResponse;
using NoResponse.Models.Shared;
using System;
var sdk = new NoResponseClient(apiKey: Environment.GetEnvironmentVariable("NORESPONSE_API_KEY"));
var res = await sdk.People.CreateAsync(
body: new WorkspacePersonRequest() {
ExternalId = "case-person-1042",
Name = "Jordan Example",
Email = "jordan@example.com",
},
idempotencyKey: "request-01JA2Z8K6Q4V7W9XBCDEFGHJKM"
);
// handle response
<?php
declare(strict_types=1);
require 'vendor/autoload.php';
use NoResponse;
use NoResponse\Models\Shared;
$sdk = NoResponse\NoResponseClient::builder()
->setSecurity(
getenv('NORESPONSE_API_KEY') ?: ''
)
->build();
$body = new Shared\WorkspacePersonRequest(
externalId: 'case-person-1042',
name: 'Jordan Example',
email: 'jordan@example.com',
);
$response = $sdk->people->create(
body: $body,
idempotencyKey: 'request-01JA2Z8K6Q4V7W9XBCDEFGHJKM'
);
$result = $response->result;
// handle response
require 'noresponse'
Models = ::NoResponse::Models
s = ::NoResponse::NoResponseClient.new(
api_key: ENV.fetch('NORESPONSE_API_KEY', '')
)
res = s.people.create(body: Models::Shared::WorkspacePersonRequest.new(
external_id: 'case-person-1042',
name: 'Jordan Example',
email: 'jordan@example.com'
), idempotency_key: 'request-01JA2Z8K6Q4V7W9XBCDEFGHJKM')
unless res.nil?
# handle response
end
{
"person": {
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"external_id": "<string>",
"name": "<string>",
"email": "<string>",
"phone": "<string>",
"company": "<string>",
"city": "<string>",
"handles": [
{
"platform": "<string>",
"handle": "<string>"
}
]
},
"suggested_matches": [
{
"person_id": "<string>",
"matched_on": [
"email"
]
}
],
"created": true
}{
"person": {
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"external_id": "<string>",
"name": "<string>",
"email": "<string>",
"phone": "<string>",
"company": "<string>",
"city": "<string>",
"handles": [
{
"platform": "<string>",
"handle": "<string>"
}
]
},
"suggested_matches": [
{
"person_id": "<string>",
"matched_on": [
"email"
]
}
],
"created": true
}{
"type": "<string>",
"title": "<string>",
"status": 400,
"detail": "<string>",
"code": "invalid_request",
"request_id": "<string>",
"instance": "<string>",
"invalid_params": [
{
"field": "<string>",
"reason": "<string>",
"example": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 401,
"detail": "<string>",
"code": "unauthorized",
"request_id": "<string>",
"instance": "<string>",
"invalid_params": [
{
"field": "<string>",
"reason": "<string>",
"example": "<string>"
}
]
}{
"type": "https://docs.noresponse.org/problems/workspace-forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The API key does not carry a scope this operation accepts.",
"code": "workspace_forbidden",
"request_id": "0123456789abcdef0123456789abcdef"
}{
"type": "<string>",
"title": "<string>",
"status": 404,
"detail": "<string>",
"code": "not_found",
"request_id": "<string>",
"instance": "<string>",
"invalid_params": [
{
"field": "<string>",
"reason": "<string>",
"example": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 409,
"detail": "<string>",
"code": "idempotency_key_reused",
"request_id": "<string>",
"instance": "<string>",
"invalid_params": [
{
"field": "<string>",
"reason": "<string>",
"example": "<string>"
}
]
}{
"type": "https://docs.noresponse.org/problems/rate-limited",
"title": "Rate limited",
"status": 429,
"detail": "The tenant's assessment rate is exhausted; retry after the Retry-After interval.",
"code": "rate_limited",
"request_id": "0123456789abcdef0123456789abcdef"
}{
"type": "<string>",
"title": "<string>",
"status": 503,
"detail": "<string>",
"code": "service_unavailable",
"request_id": "<string>",
"instance": "<string>",
"invalid_params": [
{
"field": "<string>",
"reason": "<string>",
"example": "<string>"
}
]
}Create or reuse a workspace person.
Creates a person without a group. An explicit person_id or external_id reuses the named workspace person. A reference-only request keeps submitted details; identity supplied with that reference replaces those details. A shared email or phone never merges people. Suggested matches are returned only with people-read access. The workspace retention setting determines expires_at. An existing person keeps their original expiry. An Idempotency-Key returns the same retained person on retries, without creating another. Changed input with the same key answers 409 idempotency_key_reused. A customer reference that names another person or several people answers 409 person_reference_conflict.
curl --request POST \
--url 'https://api.noresponse.org/v1/people' \
--header "Authorization: Bearer $NORESPONSE_API_KEY" \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: request-01JA2Z8K6Q4V7W9XBCDEFGHJKM' \
--data '{
"external_id": "case-person-1042",
"name": "Jordan Example",
"email": "jordan@example.com"
}'
import { NoResponse } from "@noresponse/node";
const noResponse = new NoResponse({
apiKey: process.env["NORESPONSE_API_KEY"] ?? "",
});
async function run() {
const result = await noResponse.people.create({
idempotencyKey: "request-01JA2Z8K6Q4V7W9XBCDEFGHJKM",
body: {
externalId: "case-person-1042",
name: "Jordan Example",
email: "jordan@example.com",
},
});
console.log(result);
}
run();
from noresponse import NoResponse
import os
with NoResponse(
api_key=os.getenv("NORESPONSE_API_KEY", ""),
) as no_response:
res = no_response.people.create(idempotency_key="request-01JA2Z8K6Q4V7W9XBCDEFGHJKM", external_id="case-person-1042", name="Jordan Example", email="jordan@example.com", phone="+14155550100", company="Example Ltd", city="Melbourne", handles=[
{
"platform": "bluesky",
"handle": "jordan_example",
},
], person_id="per_01JA2Z8K6Q4V7W9XBCDEFGHJKM")
# Handle response
print(res)
package main
import(
"context"
"os"
noresponse "github.com/noresponsehq/go/v14"
"github.com/noresponsehq/go/v14/models/components"
"log"
)
func main() {
ctx := context.Background()
s := noresponse.New(
noresponse.WithSecurity(os.Getenv("NORESPONSE_API_KEY")),
)
res, err := s.People.Create(ctx, components.WorkspacePersonRequest{
ExternalID: noresponse.Pointer("case-person-1042"),
Name: noresponse.Pointer("Jordan Example"),
Email: noresponse.Pointer("jordan@example.com"),
}, noresponse.Pointer("request-01JA2Z8K6Q4V7W9XBCDEFGHJKM"))
if err != nil {
log.Fatal(err)
}
if res != nil {
// handle response
}
}
package hello.world;
import java.lang.Exception;
import org.noresponse.NoResponse;
import org.noresponse.models.errors.AuthenticationException;
import org.noresponse.models.errors.BadRequestException;
import org.noresponse.models.errors.ConflictException;
import org.noresponse.models.errors.NotFoundException;
import org.noresponse.models.errors.PermissionDeniedException;
import org.noresponse.models.errors.RateLimitException;
import org.noresponse.models.operations.CreateWorkspacePersonResponse;
import org.noresponse.models.shared.WorkspacePersonRequest;
public class Application {
public static void main(String[] args) throws Exception {
NoResponse sdk = NoResponse.builder()
.apiKey(System.getenv().getOrDefault("NORESPONSE_API_KEY", ""))
.build();
CreateWorkspacePersonResponse res = sdk.people().create()
.idempotencyKey("request-01JA2Z8K6Q4V7W9XBCDEFGHJKM")
.body(WorkspacePersonRequest.builder()
.externalId("case-person-1042")
.name("Jordan Example")
.email("jordan@example.com")
.build())
.call();
if (res.workspacePersonResult().isPresent()) {
System.out.println(res.workspacePersonResult().get());
}
}
}
using NoResponse;
using NoResponse.Models.Shared;
using System;
var sdk = new NoResponseClient(apiKey: Environment.GetEnvironmentVariable("NORESPONSE_API_KEY"));
var res = await sdk.People.CreateAsync(
body: new WorkspacePersonRequest() {
ExternalId = "case-person-1042",
Name = "Jordan Example",
Email = "jordan@example.com",
},
idempotencyKey: "request-01JA2Z8K6Q4V7W9XBCDEFGHJKM"
);
// handle response
<?php
declare(strict_types=1);
require 'vendor/autoload.php';
use NoResponse;
use NoResponse\Models\Shared;
$sdk = NoResponse\NoResponseClient::builder()
->setSecurity(
getenv('NORESPONSE_API_KEY') ?: ''
)
->build();
$body = new Shared\WorkspacePersonRequest(
externalId: 'case-person-1042',
name: 'Jordan Example',
email: 'jordan@example.com',
);
$response = $sdk->people->create(
body: $body,
idempotencyKey: 'request-01JA2Z8K6Q4V7W9XBCDEFGHJKM'
);
$result = $response->result;
// handle response
require 'noresponse'
Models = ::NoResponse::Models
s = ::NoResponse::NoResponseClient.new(
api_key: ENV.fetch('NORESPONSE_API_KEY', '')
)
res = s.people.create(body: Models::Shared::WorkspacePersonRequest.new(
external_id: 'case-person-1042',
name: 'Jordan Example',
email: 'jordan@example.com'
), idempotency_key: 'request-01JA2Z8K6Q4V7W9XBCDEFGHJKM')
unless res.nil?
# handle response
end
{
"person": {
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"external_id": "<string>",
"name": "<string>",
"email": "<string>",
"phone": "<string>",
"company": "<string>",
"city": "<string>",
"handles": [
{
"platform": "<string>",
"handle": "<string>"
}
]
},
"suggested_matches": [
{
"person_id": "<string>",
"matched_on": [
"email"
]
}
],
"created": true
}{
"person": {
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"external_id": "<string>",
"name": "<string>",
"email": "<string>",
"phone": "<string>",
"company": "<string>",
"city": "<string>",
"handles": [
{
"platform": "<string>",
"handle": "<string>"
}
]
},
"suggested_matches": [
{
"person_id": "<string>",
"matched_on": [
"email"
]
}
],
"created": true
}{
"type": "<string>",
"title": "<string>",
"status": 400,
"detail": "<string>",
"code": "invalid_request",
"request_id": "<string>",
"instance": "<string>",
"invalid_params": [
{
"field": "<string>",
"reason": "<string>",
"example": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 401,
"detail": "<string>",
"code": "unauthorized",
"request_id": "<string>",
"instance": "<string>",
"invalid_params": [
{
"field": "<string>",
"reason": "<string>",
"example": "<string>"
}
]
}{
"type": "https://docs.noresponse.org/problems/workspace-forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The API key does not carry a scope this operation accepts.",
"code": "workspace_forbidden",
"request_id": "0123456789abcdef0123456789abcdef"
}{
"type": "<string>",
"title": "<string>",
"status": 404,
"detail": "<string>",
"code": "not_found",
"request_id": "<string>",
"instance": "<string>",
"invalid_params": [
{
"field": "<string>",
"reason": "<string>",
"example": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 409,
"detail": "<string>",
"code": "idempotency_key_reused",
"request_id": "<string>",
"instance": "<string>",
"invalid_params": [
{
"field": "<string>",
"reason": "<string>",
"example": "<string>"
}
]
}{
"type": "https://docs.noresponse.org/problems/rate-limited",
"title": "Rate limited",
"status": 429,
"detail": "The tenant's assessment rate is exhausted; retry after the Retry-After interval.",
"code": "rate_limited",
"request_id": "0123456789abcdef0123456789abcdef"
}{
"type": "<string>",
"title": "<string>",
"status": 503,
"detail": "<string>",
"code": "service_unavailable",
"request_id": "<string>",
"instance": "<string>",
"invalid_params": [
{
"field": "<string>",
"reason": "<string>",
"example": "<string>"
}
]
}Authorizations
Your API key, sent as Authorization: Bearer <key>. A key is nrk_live_ or nrk_test_, a 26-character key id, _ and a 43-character secret. Account, audit and usage data stay within the key's environment. Dedicated team scopes apply across the workspace.
assess creates and reads assessments, records outcomes and reports key usage. investigate reads accounts, assessment history and request diagnostics without export or enforcement access. The legacy history scope also permits account exports, submitted identifiers and enforcement reports. delete permits account and assessment deletion.
evidence or detailed adds detailed merged evidence and submitted identifiers where the operation permits them. Neither grants access to the underlying resource alone. exports permits exports with the underlying account or audit scope. audit reads audit events and usage reads usage. audit_manage manages audit streams and retention, and includes audit-read and export authority.
webhooks manages webhook endpoints. integrations manages hosted auth-provider integrations. management manages keys, settings, lists, reviews and policy evaluations in the key's environment. New keys cannot exceed the issuer's effective permissions.
settings reads configuration, previews policy and list changes, runs evaluations and changes retention. Publishing decision policy or changing lists requires settings and policy_publish together, or the legacy management scope.
people reads people, groups and investigations with full evidence by default. people_write changes submitted people, groups and memberships. investigations starts or cancels jobs and screenings. decisions records reviews. exports with people-read access exports rosters. delete deletes people, groups and memberships. Existing groups keys retain non-destructive people access. Explicit evidence.read restrictions withhold collected records, posts, media, discovered identifiers and notes.
members reads the workspace directory. members_manage also administers non-owner members and invitations. These scopes require a live key issued by a current owner with access to both environments. They grant access across the workspace. management does not grant team access. API keys cannot change owners or accept invitations.
A missing, unknown, revoked or expired key answers 401. A valid key without a required scope answers 403.
Headers
Opaque request key, 16 to 128 characters. Repeating the key and request returns the same resource in its current state while it is retained. A different request with the same key answers 409. Use a new key for a deliberate new operation. Keys are scoped to the environment and operation; person searches also scope them to the group and person.
16 - 128^[A-Za-z0-9._:-]{16,128}$Body
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6