Skip to main content
POST
Create a credential

Authorizations

X-API-Key
string
header
required

Your API key is available in the Production and Sandbox dashboards.

Body

application/json

CIEC

type
string
required

Credential type

rfc
string
required

RFC (Registro Federal de Contribuyentes)

Required string length: 12 - 13
Example:

"PEIC211118IS0"

password
string
required
write-only

CIEC's password

Minimum string length: 8
Example:

"secret123"

Response

Credential resource response

@context
string
default:/contexts/Credential
@id
string<iri-reference>

SAT Credential IRI reference

Example:

"/credentials/91106968-1abd-4d64-85c1-4e73d96fb997"

@type
string
default:Credential
id
string<uuid>

Credential ID

Example:

"91106968-1abd-4d64-85c1-4e73d96fb997"

type
enum<string>
Available options:
ciec,
efirma
Example:

"ciec"

rfc
string

RFC (Registro Federal de Contribuyentes)

Required string length: 12 - 13
Example:

"PEIC211118IS0"

status
enum<string>

Credential validation status:

Available options:
waiting,
pending,
valid,
invalid,
disabled,
deactivated,
error
Example:

"pending"

createdAt
string

Date and time the resource was created

Example:

"2020-01-01T12:15:00.000Z"

updatedAt
string

Date and time the resource was last updated

Example:

"2020-01-01T12:15:00.000Z"