GET
/
credentials
curl --request GET \
  --url https://api.syntage.com/credentials \
  --header 'X-API-Key: <api-key>'
{
  "@context": "<string>",
  "@id": "<string>",
  "@type": "hydra:Collection",
  "hydra:member": [
    {
      "@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"
    }
  ],
  "hydra:view": {
    "@id": "<string>",
    "@type": "hydra:PartialCollectionView",
    "hydra:next": "/entity/2a15f539-3251-48e1-aaeb-a154dc9c6edb/resource?id[lt]=9b8e5365-0b36-45f5-9c76-fbe439632367",
    "hydra:last": "/entity/2a15f539-3251-48e1-aaeb-a154dc9c6edb/resource?id[gt]=9b8e5365-0b36-45f5-9c76-fbe439632367"
  },
  "hydra:search": {
    "@type": "<string>",
    "hydra:template": "<string>",
    "hydra:variableRepresentation": "<string>",
    "hydra:mapping": [
      {
        "@type": "<string>",
        "variable": "<string>",
        "property": "<string>",
        "required": true
      }
    ]
  }
}

Authorizations

X-API-Key
string
header
required

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

Query Parameters

type
enum<string>

Filter by type (exact match)

Available options:
ciec,
efirma
Example:

"ciec"

rfc
string

Filter by taxpayer ID (partial match)

Required string length: 12 - 13
Example:

"PEIC211118IS0"

status
enum<string>

Filter by status (exact match)

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

"pending"

deactivatedAt[before]
string

Filter by deactivation date (less than or equal <=)

deactivatedAt[strictly_before]
string

Filter by deactivation date (less than <)

deactivatedAt[after]
string

Filter by deactivation date (greater than or equal >=)

deactivatedAt[strictly_after]
string

Filter by deactivation date (greater than >)

createdAt[before]
string

Filter by resource creation date (less than or equal <=)

createdAt[strictly_before]
string

Filter by resource creation date (less than <)

createdAt[after]
string

Filter by resource creation date (greater than or equal >=)

createdAt[strictly_after]
string

Filter by resource creation date (greater than >)

order[createdAt]
enum<string>

Order by resource creation date

Available options:
asc,
desc
Example:

"asc"

page
integer
default:1

The collection page number

itemsPerPage
integer
default:20

The number of items per page

Required range: 1 <= x <= 1000

Response

200
application/ld+json

Credential collection response

The response is of type object.