Add a gig role invitation to a gig role

​

Creates a gig role invitation with gigRoleId set to this gig role.

Path Parameters

  • Gig role id.

Body·

required
application/json

Fields accepted when creating a gig role invitation. Unknown or read-only fields are rejected.

  • References gigRoles.id.

  • References staffMembers.id.

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for post/gig-roles/{id}/invitations
curl https://api.weddingoperatingsystems.com/api/v1/gig-roles/123e4567-e89b-12d3-a456-426614174000/invitations \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '{
  "gigRoleId": null,
  "staffMemberId": null,
  "emailSentAt": null,
  "notes": null
}'
{
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "gigRoleId": null,
    "staffMemberId": null,
    "invitationNumber": null,
    "invitedAt": null,
    "emailSentAt": null,
    "respondedAt": null,
    "response": null,
    "notes": null,
    "createdTime": "2026-09-30T11:22:55.093Z",
    "lastEditedTime": "2026-09-30T11:22:55.093Z"
  }
}