createOrgRecipientEndpoint(
  organizationId: ID!
  providerProfileId: ID!
  spec: RecipientEndpointSpec!
): RecipientEndpoint!

Arguments

Field

Type

Returns

RecipientEndpoint!

Field

Type

Example

mutation CreateOrgRecipientEndpoint($organizationId: ID!, $providerProfileId: ID!, $spec: RecipientEndpointSpec!) {
  createOrgRecipientEndpoint(organizationId: $organizationId, providerProfileId: $providerProfileId, spec: $spec) {
    id
    providerType
    providerProfileId
    deletable
    doiConfirmed
    doiConfirmedAt
    config {
      __typename
      ... on ProviderChannelMetadata {
        id
        name
      }
      ... on ProviderAddressMetadata {
        address
      }
    }
  }
}

Example response

{
  "data": {
    "createOrgRecipientEndpoint": {
      "id": "01JB3X7T9QK2M4N6P8R0S2T4V6",
      "providerType": "MAIL",
      "providerProfileId": "01JB3X7T9QK2M4N6P8R0S2T4V6",
      "deletable": true,
      "doiConfirmed": true,
      "doiConfirmedAt": "2026-01-01T12:00:00Z",
      "config": {
        "__typename": "ProviderChannelMetadata",
        "id": "01JB3X7T9QK2M4N6P8R0S2T4V6",
        "name": "Example name"
      }
    }
  }
}

On this page