OBJECT

Destination

An org-scoped publish channel: 1:1 to a vendor (Ayrshare) User Profile / social account.

link GraphQL Schema definition

1type Destination {
2
3id: ID!
4
5destinationTypeId: ID!
6
7destinationType: DestinationType
8
9label: String!
10
11# Must conform to destinationType.configSchema; validated server-side at every
12# write.
13details: JSONData
14
15# Ayrshare Profile-Key — opaque credential, restricted to org admins.
16vendorProfileId: String!
17
18# Linked social-account label, e.g. "@channel-name".
19platformAccountLabel: String
20
21# Linked social-account profile URL, e.g. "https://youtube.com/channel/...". Null
22# if the platform didn't return one.
23platformAccountUrl: String
24
25status: DestinationStatus!
26
27# Short-lived vendor OAuth URL while status is PENDING_OAUTH; null once CONNECTED.
28oauthUrl: String
29
30oauthUrlExpiresAt: DateTime
31
32createdBy: User
33
34createdDateTime: DateTime!
35
36modifiedDateTime: DateTime
37
38}