GET
/
credentials
/
{id}
Retrieve a credential
curl --request GET \
  --url https://api.syntage.com/credentials/{id} \
  --header 'X-API-Key: <api-key>'
{
  "@context": "/contexts/Credential",
  "@id": "/credentials/91106968-1abd-4d64-85c1-4e73d96fb997",
  "@type": "Credential",
  "id": "91106968-1abd-4d64-85c1-4e73d96fb997",
  "type": "ciec",
  "rfc": "PEIC211118IS0",
  "status": "pending",
  "createdAt": "2020-01-01T12:15:00.000Z",
  "updatedAt": "2020-01-01T12:15:00.000Z"
}

Authorizations

X-API-Key
string
header
required

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

Path Parameters

id
string<uuid>
required

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>
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>

The initial status is always pending. After a few seconds, it changes to valid or invalid depending on SAT's response to our login attempt.

Available options:
pending,
valid,
invalid,
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"