Inspiration
Create a share link
Creates a view-only share link for one saved ad or one board. Pass exactly one of savedAdId or boardId. Without expiresInDays the link never expires. Anyone holding the link can open it. Free; consumes no credits.
Authentication
authentication api-key<token>
Create an API key from the Adnova dashboard (Account integrations). Pass the key value in the api-key request header on every call.
In: header
Header Parameters
x-org-id*string
Organization ULID that scopes the request.
x-workspace-id*string
Workspace ULID that scopes the request.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.adnova.ai/inspiration/v1/share-links" \ -H "x-org-id: 01K8Z23F1QQ1ZA93B8WYBS40GH" \ -H "x-workspace-id: 01KJ7S42FHQTCTKD6KKFJKTZBC" \ -H "Content-Type: application/json" \ -d '{}'{
"data": {
"shareLinkId": "01KT3B6W0M4N8E2R7P9Q5V1XCD",
"url": "https://app.adnova.ai/share/inspirations/01KT3B6W0M4N8E2R7P9Q5V1XCD",
"expiresAt": null
}
}{
"error": {
"code": "string",
"message": "string"
}
}{
"error": {
"code": "string",
"message": "string"
}
}{
"error": {
"code": "string",
"message": "string"
}
}{
"error": {
"code": "string",
"message": "string"
}
}{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Too many requests."
}
}{
"error": {
"code": "string",
"message": "string"
}
}