List

Preview
GET
https://api.senditly.ai/v1/certificates
List certificates
This API is in preview. It may be changed in the future.
Headers
Authorization
string
required
Bearer authentication of the form "Bearer <API_KEY>", where API_KEY is your api key.
Query
limit
integer
optional
A limit on the number of items to return. Defaults to 10. The value must be between 1 and 100.
startingAfter
string
optional
A cursor to start the list from. Defaults to the first item.
endingBefore
string
optional
A cursor to end the list at. Defaults to the last item.
Response
items
array
required
hasMore
boolean
required
Whether there are more items to fetch.
cursor
string
optional
A cursor to start the next list from.

Count

Preview
GET
https://api.senditly.ai/v1/certificates/count
Count certificates
This API is in preview. It may be changed in the future.
Headers
Authorization
string
required
Bearer authentication of the form "Bearer <API_KEY>", where API_KEY is your api key.
Query
after
string
optional
A cursor to start the count from.
before
string
optional
A cursor to end the count at.
Response
count
integer
required
The total number of items.

Create

Preview
POST
https://api.senditly.ai/v1/certificates
Create a certificate
This API is in preview. It may be changed in the future.
Headers
Authorization
string
required
Bearer authentication of the form "Bearer <API_KEY>", where API_KEY is your api key.
Request
hostname
string
required
The hostname of the certificate.
Response
hostname
string
required
The hostname of the certificate.
records
array
required
status
enum
required
The status of the certificate.
ownershipStatus
enum
required
The ownership status of the certificate.
createdAt
string
required
A date string in ISO 8601 format when the certificate was created.
updatedAt
string
required
A date string in ISO 8601 format when the certificate was updated.

Retrieve

Preview
GET
https://api.senditly.ai/v1/certificates/:hostname
Retrieve a certificate
This API is in preview. It may be changed in the future.
Headers
Authorization
string
required
Bearer authentication of the form "Bearer <API_KEY>", where API_KEY is your api key.
Parameters
hostname
string
required
The hostname of the certificate.
Response
hostname
string
required
The hostname of the certificate.
records
array
required
status
enum
required
The status of the certificate.
ownershipStatus
enum
required
The ownership status of the certificate.
createdAt
string
required
A date string in ISO 8601 format when the certificate was created.
updatedAt
string
required
A date string in ISO 8601 format when the certificate was updated.

Delete

Preview
DELETE
https://api.senditly.ai/v1/certificates/:hostname
Delete a certificate
This API is in preview. It may be changed in the future.
Headers
Authorization
string
required
Bearer authentication of the form "Bearer <API_KEY>", where API_KEY is your api key.
Parameters
hostname
string
required
The hostname of the certificate.
Response
hostname
string
required
The hostname of the certificate.
deletedAt
string
required
A date string in ISO 8601 format when the certificate was deleted.

Verify

Preview
POST
https://api.senditly.ai/v1/certificates/:hostname/verify
Verify a certificate
This API is in preview. It may be changed in the future.
Headers
Authorization
string
required
Bearer authentication of the form "Bearer <API_KEY>", where API_KEY is your api key.
Parameters
hostname
string
required
The hostname of the certificate.
Response
hostname
string
required
The hostname of the certificate.
records
array
required
status
enum
required
The status of the certificate.
ownershipStatus
enum
required
The ownership status of the certificate.
createdAt
string
required
A date string in ISO 8601 format when the certificate was created.
updatedAt
string
required
A date string in ISO 8601 format when the certificate was updated.

ListItems

Preview
GET
https://api.senditly.ai/v1/certificates/:hostname/items
List items of a certificate
This API is in preview. It may be changed in the future.
Headers
Authorization
string
required
Bearer authentication of the form "Bearer <API_KEY>", where API_KEY is your api key.
Parameters
hostname
string
required
The hostname of the certificate.
Response
items
array
required
hasMore
boolean
required
Whether there are more items to fetch.
cursor
string
optional
A cursor to start the next list from.