Skip to main content
POST
Create a platform customer
Create a platform customer for each exporter you generate certificates for. This is the first call in the lifecycle: the returned id is the platformCustomerId you pass to every IRM and generation endpoint.

Request example

name, email, and type are required; type is always "customer". companyName and address are optional.

Response example

Returns 201 with the customer in the data field of the standard envelope:
DGFT credentials are never returned by any customer endpoint.

Errors

Next steps

Authorizations

x-api-key
string
header
required

Body

application/json
name
string
required
email
string<email>
required
type
enum<string>
default:customer
required
Available options:
customer
companyName
string
address
string

Response

Customer created

id
string

Unique identifier of the platform customer

name
string
email
string<email>
type
enum<string>
default:customer
Available options:
customer
companyName
string
address
string
platformId
string

Platform user ID that owns this customer

isActive
boolean
createdAt
string<date-time>
updatedAt
string<date-time>