Skip to content
API console (try a request with your own key)Get early access

Get an open invitation

GET
/v1/workspace/invitations/{invitationId}
INVITATION_ID=e8a1d2c3-4b5f-4a6e-9d7c-0b1a2c3d4e5f # an invitationId from the list of invitations
curl -sS "https://api.speccapture.com/v1/workspace/invitations/$INVITATION_ID" \
-H "Authorization: Bearer $SPECCAPTURE_API_KEY"

The invitation as GET /v1/workspace/invitations lists it. One that was accepted or withdrawn, another workspace’s, or an id nobody issued is 404 not_found. A key acting as the workspace’s owner or an admin.

invitationId
required
string format: uuid

OK

Media typeapplication/json
object
invitationId
required
string format: uuid
email
required
string
role
required
Allowed values: owner admin member
status
required
Allowed values: pending expired
invitedBy
required
null | string
createdAt
required
string format: date-time
sentAt
required
string format: date-time
expiresAt
required
string format: date-time
emailedAt
required
null | string format: date-time

Forbidden: a problem with a stable code. See Errors for every code and what to do about it.

Media typeapplication/problem+json

Every error: a problem with a stable code. https://speccapture.com/docs/api/errors lists every code.

object
type

A link to the code’s entry in the docs.

null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
code

What went wrong, as a stable code to branch on: a published code never changes meaning.

string
traceId

This request’s trace: quote it when asking for help.

string

Not Found: a problem with a stable code. See Errors for every code and what to do about it.

Media typeapplication/problem+json

Every error: a problem with a stable code. https://speccapture.com/docs/api/errors lists every code.

object
type

A link to the code’s entry in the docs.

null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
code

What went wrong, as a stable code to branch on: a published code never changes meaning.

string
traceId

This request’s trace: quote it when asking for help.

string