GET /api/v2/account_lists/5c6dfa9d-2b3a-4cdb-8bcc-3393c027e116/invites
Content-Type: application/vnd.api+json
Body
Parameters
Filters
invite_user_as
Typestring
Description
Filter by type of invite; Accepts "user" or "coach"
Required
No
Response
Headers
Body
Fields
data
Type[Invite]
Description
An array of Invites
Invite [POST]
Invite [POST]
Request
Endpoint
Body
Parameters
Attributes
created_at
Typedate
Description
The timestamp of when this resource was created
Required
No
invite_user_as
Typestring
Description
What to type of association to create if user accepts invite; Either "coach" or "user"
Required
No
recipient_email
Typestring
Description
Recipient Email
Required
No
updated_at
Typedate
Description
The timestamp of when this resource was last updated
Required
No
updated_in_db_at
Typedate
Description
This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.
Required
No
Response
Headers
Body
Fields
Attributes
accepted_at
Typestring
Description
Accepted At
code
Typestring
Description
Code
created_at
Typedate
Description
The timestamp of when this resource was created
invite_user_as
Typestring
Description
What to type of association to create if user accepts invite; Either "coach" or "user"
recipient_email
Typestring
Description
Recipient Email
updated_at
Typedate
Description
The timestamp of when this resource was last updated
updated_in_db_at
Typedate
Description
This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.
Relationships
accepted_by_user.data
TypeUser
Description
user that accepted the invite
cancelled_by_user.data
TypeUser
Description
user that cancelled the invite
invited_by_user.data
TypeUser
Description
user that created the invite
Invite [GET]
Invite [GET]
Request
Endpoint
Body
Response
Headers
Body
Fields
Attributes
accepted_at
Typestring
Description
Accepted At
code
Typestring
Description
Code
created_at
Typedate
Description
The timestamp of when this resource was created
invite_user_as
Typestring
Description
What to type of association to create if user accepts invite; Either "coach" or "user"
recipient_email
Typestring
Description
Recipient Email
updated_at
Typedate
Description
The timestamp of when this resource was last updated
updated_in_db_at
Typedate
Description
This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.
Relationships
accepted_by_user.data
TypeUser
Description
user that accepted the invite
cancelled_by_user.data
TypeUser
Description
user that cancelled the invite
invited_by_user.data
TypeUser
Description
user that created the invite
Invite [DELETE]
Invite [DELETE]
Request
Endpoint
Body
Response
Headers
Body
Invite [ACCEPT]
Invite [ACCEPT]
Request
Endpoint
Body
Parameters
Attributes
code
TypeUnknown
Description
code that matches the code attribute on the invite being accepted
Required
No
Response
Headers
Body
Fields
Attributes
accepted_at
Typestring
Description
Accepted At
code
Typestring
Description
Code
created_at
Typedate
Description
The timestamp of when this resource was created
invite_user_as
Typestring
Description
What to type of association to create if user accepts invite; Either "coach" or "user"
recipient_email
Typestring
Description
Recipient Email
updated_at
Typedate
Description
The timestamp of when this resource was last updated
updated_in_db_at
Typedate
Description
This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.
PUT /api/v2/account_lists/245304e5-3b41-4109-903d-cb92d41ac018/invites/021dd445-1aa2-4670-861e-d8ae803dbbe8/accept
Content-Type: application/vnd.api+json