Skip to content

Claim an identification another company holds

POST
/v1/identification-claims
curl --request POST \
--url https://api.emite.cr/v1/identification-claims \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form p12=@file \
--form identificationType=example \
--form identificationNumber=example \
--form environment=sandbox \
--form pin=example \
--form atvUsername=example \
--form atvPassword=example \
--form atvClientId=example \
--form atvClientSecret=example \
--form shareContact=true

The .p12 with its PIN and the ATV user and password are checked like an upload of credentials, against the identification, and are never stored. The company's owner and administrators are told, with the name and email of the claimant (shareContact). If nobody of an empty company answers before the notice ends, the team reviews the claim and may release the company; any other goes to the team (status: review). Nothing is released by itself. 409 IDENTIFICATION_CLAIM_NOT_NEEDED when no company holds it, and IDENTIFICATION_CLAIM_COMPANY_CLOSED when the company that holds it was closed — it is reopened with POST /v1/tenants/reopen; 429 IDENTIFICATION_CLAIM_RATE_LIMITED past 5 attempts in an hour, counted together with the reopenings.

Media typemultipart/form-data
object
p12
string format: binary
identificationType
string
identificationNumber
string
environment
string
Allowed values: sandbox production
pin
string
atvUsername
string
atvPassword
string
atvClientId
string
atvClientSecret
string
shareContact
string
Allowed values: true
Media typeapplication/json
object
id
required

The claim.

string format: uuid
identificationType
required

Type of the identification claimed (01 to 04).

string
identificationNumber
required

The identification claimed, digits only.

string
companyName
required

The legal name of the company that holds the identification.

string
status
required

open: in its notice, or past it until the team decides; review: the team decides; released: the identification is reserved for the claimant; closed: it ended without a release.

string
Allowed values: open review released closed
reviewReason
required

Why it waits for the team: contested (the company said it is theirs), not_claimable (the company has activity) or target_changed (it got activity during the notice).

string
nullable
Allowed values: contested not_claimable target_changed
resolution
required

How it ended, once it did.

string
nullable
Allowed values: registrant deadline operator target_gone withdrawn joined rejected
deadlineAt
required

Open claims: when the notice ends. If nobody answered by then, the team reviews the claim and may release the identification.

string format: date-time
nullable
reservedUntil
required

Released claims: until when only the claimant can register the identification.

string format: date-time
nullable
fulfilled
required

The claimant already registered the company with it.

boolean
createdAt
required

When it was filed.

string format: date-time
resolvedAt
required

When it was released or closed.

string format: date-time
nullable
Example
{
"status": "open",
"reviewReason": "contested",
"resolution": "registrant"
}