PlayHQ External API (1.0.0)

Download OpenAPI specification:Download

External API to exposing with playhq services.

Organisations

Lists all organisations

Please note, this API is deprecated and will be decommissioned in the near future.

query Parameters
page
number >= 0
Default: 1

Page Number to fetch data - the maximum value of this parameter will be equal to the totalPages in response metadata

limit
number [ 1 .. 100 ]
Default: 10

Number of objects per page to return

changedSince
string

Date in ISO 8601 format to fetch updates since

type
string

One of CLUB, ASSOCIATION, ADMINISTRATIVE_BODY or ALL. Defaults to ALL

header Parameters
Authorization
required
string

Bearer {JWT_Auth_Token}

Responses

Response samples

Content type
application/json
{
  • "data": {
    },
  • "metadata": {
    }
}

Organisation Created Webhook

Information about a new organisation

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "ORGANISATION.CREATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "4b891d5d-31d3-4406-b917-dace774222f4",
  • "eventType": "ORGANISATION.CREATED",
  • "entityId": "d5daef02-2614-4cd6-ac51-87a5a3f4968e",
  • "eventRaisedDateTime": "2021-03-15T10:55:05.845Z",
  • "data": {
    }
}

Organisation Updated Webhook

Information about an existing organisation which has been updated

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "ORGANISATION.UPDATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "b68c3b5f-3b03-4358-ab2a-aef39f170160",
  • "eventType": "ORGANISATION.UPDATED",
  • "entityId": "54668204-9ca1-4ea2-b5c2-461fea41a44d",
  • "eventRaisedDateTime": "2021-03-15T11:05:26.486Z",
  • "data": {
    }
}

Organisation Deleted Webhook

Information about an organisation which has been permanently deleted

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "ORGANISATION.DELETED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "9beaf509-0278-44ba-b174-01dc27c2fa5d",
  • "eventType": "ORGANISATION.DELETED",
  • "entityId": "d5daef02-2614-4cd6-ac51-87a5a3f4968e",
  • "eventRaisedDateTime": "2021-03-15T10:59:16.910Z",
  • "data": {
    }
}

Competitions

Lists all competitions

Please note, this API is deprecated and will be decommissioned in the near future.

query Parameters
page
number >= 0
Default: 1

Page Number to fetch data - the maximum value of this parameter will be equal to the totalPages in response metadata

limit
number [ 1 .. 100 ]
Default: 10

Number of objects per page to return

changedSince
string

Date in ISO 8601 format to fetch updates since

header Parameters
Authorization
required
string

Bearer {JWT_Auth_Token}

Responses

Response samples

Content type
application/json
{
  • "data": {
    },
  • "metadata": {
    }
}

Competition Created Webhook

Information about a new Competition

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "COMPETITION.CREATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "52adc80d-4373-4f04-bee0-00ebbb66617e",
  • "eventType": "COMPETITION.CREATED",
  • "entityId": "a0176d6a-1bb4-4d5e-8e64-784a2878ce45",
  • "eventRaisedDateTime": "2021-04-09T03:22:17.222Z",
  • "data": {
    }
}

Competition Updated Webhook

Information about an existing competition which has been updated

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "COMPETITION.UPDATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "7860affe-5c69-4f5b-8fd7-bff5aec34720",
  • "eventType": "COMPETITION.UPDATED",
  • "entityId": "a0176d6a-1bb4-4d5e-8e64-784a2878ce45",
  • "eventRaisedDateTime": "2021-04-09T03:22:51.240Z",
  • "data": {
    }
}

Competition Deleted Webhook

Information about an competition which has been permanently deleted

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "COMPETITION.DELETED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "c9748113-02ed-4f92-8a78-66d76c11631a",
  • "eventType": "COMPETITION.DELETED",
  • "entityId": "4a635e4c-6bac-4133-958c-977d41aa2de4",
  • "eventRaisedDateTime": "2021-03-15T11:14:03.828Z",
  • "data": {
    }
}

Competition Seasons

Seasons for organisation

Retrieve a list of seasons for a specified association organisation.

path Parameters
id
required
string

ID of the organisation

query Parameters
cursor
string

Optional. If a response has metadata.hasMore == true, set this parameter to metadata.nextCursor to request the next page of results.

header Parameters
x-api-key
required
string

API Key (provided by PlayHQ)

x-phq-tenant
required
string

PlayHQ Tenant ID (e.g. bv, afl)

Responses

Response samples

Content type
application/json
{}

Teams for season

Retrieve a list of teams participating under a specified season.

path Parameters
id
required
string

ID of the season

query Parameters
cursor
string

Optional. If a response has metadata.hasMore == true, set this parameter to metadata.nextCursor to request the next page of results.

header Parameters
x-api-key
required
string

API Key (provided by PlayHQ)

x-phq-tenant
required
string

PlayHQ Tenant ID (e.g. bv, afl)

Responses

Response samples

Content type
application/json
{}

Grades for season

Retrieve a list of grades under a specified season.

path Parameters
id
required
string

ID of the season

query Parameters
cursor
string

Optional. If a response has metadata.hasMore == true, set this parameter to metadata.nextCursor to request the next page of results.

header Parameters
x-api-key
required
string

API Key (provided by PlayHQ)

x-phq-tenant
required
string

PlayHQ Tenant ID (e.g. bv, afl)

Responses

Response samples

Content type
application/json
{}

Competition Season Created Webhook

Information about a new Competition Season Created

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "COMPETITION_SEASON.CREATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "d362f2c3-bb72-482e-af96-b4ea52f488a5",
  • "eventType": "COMPETITION_SEASON.CREATED",
  • "entityId": "30855249-a7fc-4d32-beb6-9f9495b00b4b",
  • "eventRaisedDateTime": "2022-06-29T18:57:39.976Z",
  • "data": {
    }
}

Competition Season Updated Webhook

Information about Competition Season Updated

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "COMPETITION_SEASON.UPDATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "2b259f2b-a7f3-4397-a76b-f7c301a0fd5c",
  • "eventType": "COMPETITION_SEASON.UPDATED",
  • "entityId": "30855249-a7fc-4d32-beb6-9f9495b00b4b",
  • "eventRaisedDateTime": "2022-06-29T18:58:49.143Z",
  • "data": {
    }
}

Competition Season Deleted Webhook

Information about Competition Season Deleted

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "COMPETITION_SEASON.DELETED"
object

Request samples

Content type
application/json
{
  • "messageId": "286cf97a-92a1-40d3-8d06-0adf06897851",
  • "eventType": "COMPETITION_SEASON.DELETED",
  • "entityId": "30855249-a7fc-4d32-beb6-9f9495b00b4b",
  • "eventRaisedDateTime": "2022-06-29T18:59:21.752Z",
  • "data": {
    }
}

Competition Season Public Grade Sort Order Webhook

Information about the public sort order of grades in a competition season

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "COMPETITION_SEASON.PUBLIC_GRADES_SORTED"
object

Request samples

Content type
application/json
{
  • "messageId": "d1fec8d3-003c-4d1d-a73e-a0809bbdd372",
  • "eventType": "COMPETITION_SEASON.PUBLIC_GRADES_SORTED",
  • "entityId": "9fdc2856-27a0-4147-bb57-69b3ef7ee617",
  • "eventRaisedDateTime": "2024-11-13T07:34:24.757Z",
  • "data": {
    }
}

Club Admin Accepts Invite To Competition Season Webhook

Information about the accepted invitation to a Competition Season

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "COMPETITION_SEASON.CLUB_INVITED"
object

Request samples

Content type
application/json
{
  • "messageId": "3de99970-d754-4c7b-b8fe-31b4e5596fcd",
  • "eventType": "COMPETITION_SEASON.CLUB_INVITED",
  • "entityId": "35a091f8-bdf0-4aad-bb8a-b860cb433630",
  • "eventRaisedDateTime": "2021-03-15T11:20:35.973Z",
  • "data": {
    }
}

Competition Season Registration Forms

Competition Season Registration Form Created Webhook

Information about a Competition Season Registration Form Created

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "COMPETITION_SEASON_REGISTRATION_FORM.CREATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "41b04ad9-79d7-49b6-81bd-3e455e50a42e",
  • "eventType": "COMPETITION_SEASON_REGISTRATION_FORM.CREATED",
  • "entityId": "77f3b909-0715-4c28-b256-3e426f0cb315",
  • "eventRaisedDateTime": "2022-08-03T21:30:43.775Z",
  • "data": {
    }
}

Competition Season Registration Form Updated Webhook

Information about a Competition Season Registration Form Updated

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "COMPETITION_SEASON_REGISTRATION_FORM.UPDATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "ba233811-75f9-4915-90d0-8975176d6ca7",
  • "eventType": "COMPETITION_SEASON_REGISTRATION_FORM.UPDATED",
  • "entityId": "42235e57-5f77-42d6-bc0c-52810fdff607",
  • "eventRaisedDateTime": "2022-08-03T21:26:34.544Z",
  • "data": {
    }
}

Competition Season Registrations

Competition Registrations Webhook

Information about a Competition Registrations

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Enum: "COMPETITION_REGISTRATION_TO_SEASON.CREATED" "COMPETITION_REGISTRATION_TO_CLUB.CREATED" "COMPETITION_REGISTRATION_TO_TEAM.CREATED" "COMPETITION_REGISTRATION_TO_CLUB_TEAM.CREATED" "COMPETITION_REGISTRATION.UPDATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "18f6066d-ea1c-47e4-93cc-80759a50a67c",
  • "eventType": "COMPETITION_REGISTRATION_TO_SEASON.CREATED",
  • "entityId": "ec34a007-3d6d-4b4d-ae82-660642ea914c",
  • "eventRaisedDateTime": "2022-08-09T14:56:11.694Z",
  • "data": {
    }
}

Teams

Lists all teams

Please note, this API is deprecated and will be decommissioned in the near future.

query Parameters
page
number >= 0
Default: 1

Page Number to fetch data - the maximum value of this parameter will be equal to the totalPages in response metadata

limit
number [ 1 .. 100 ]
Default: 10

Number of objects per page to return

changedSince
string

Date in ISO 8601 format to fetch updates since

header Parameters
Authorization
required
string

Bearer {JWT_Auth_Token}

Responses

Response samples

Content type
application/json
{
  • "data": {
    },
  • "metadata": {
    }
}

Fixture for team

Retrieve a list of games and related fixture information per specified team. Please note, this API is not applicable to Cricket

path Parameters
id
required
string

ID of the team

query Parameters
cursor
string

Optional. If a response has metadata.hasMore == true, set this parameter to metadata.nextCursor to request the next page of results.

header Parameters
x-api-key
required
string

API Key (provided by PlayHQ)

x-phq-tenant
required
string

PlayHQ Tenant ID (e.g. bv, afl)

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "metadata": {
    }
}

Teams for organisation

Retrieve a list of teams for a specified association organisation.

path Parameters
id
required
string

ID of the organisation

query Parameters
cursor
string

Optional. If a response has metadata.hasMore == true, set this parameter to metadata.nextCursor to request the next page of results.

header Parameters
Authorization
required
string

Bearer {JWT_Auth_Token}

Responses

Response samples

Content type
application/json
{}

Team Created Webhook

Information about a Team Created

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "TEAM.CREATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "d0bf7491-9b8e-46da-bc7d-27351e36122b",
  • "eventType": "TEAM.CREATED",
  • "entityId": "f10b9adf-9f70-46a6-a40c-8e5ba80f46eb",
  • "eventRaisedDateTime": "2022-08-23T20:01:19.498Z",
  • "data": {
    }
}

Team Updated Webhook

Information about a Team Updated

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "TEAM.UPDATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "bd977e4c-34a5-432b-b2ec-7803432ceb0b",
  • "eventType": "TEAM.UPDATED",
  • "entityId": "f10b9adf-9f70-46a6-a40c-8e5ba80f46eb",
  • "eventRaisedDateTime": "2022-08-23T20:03:59.873Z",
  • "data": {
    }
}

Team Deleted Webhook

Information about a Team Deleted

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "TEAM.DELETED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "3218b826-b8e8-4ebf-ba0c-77f0b623358f",
  • "eventType": "TEAM.DELETED",
  • "entityId": "f10b9adf-9f70-46a6-a40c-8e5ba80f46eb",
  • "eventRaisedDateTime": "2022-08-23T20:05:13.302Z",
  • "data": {
    }
}

Grades

Lists all grades

Please note, this API is deprecated and will be decommissioned in the near future.

query Parameters
page
number >= 0
Default: 1

Page Number to fetch data - the maximum value of this parameter will be equal to the totalPages in response metadata

limit
number [ 1 .. 100 ]
Default: 10

Number of objects per page to return

changedSince
string

Date in ISO 8601 format to fetch updates since

header Parameters
Authorization
required
string

Bearer {JWT_Auth_Token}

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Fixture for grade

Retrieve a list of games and related fixture information under a specified grade. Please note, this API version has been deprecated and is not applicable to Cricket. Please refer to the v2 of this API.

path Parameters
id
required
string

ID of the grade

query Parameters
cursor
string

Optional. If a response has metadata.hasMore == true, set this parameter to metadata.nextCursor to request the next page of results.

header Parameters
x-api-key
required
string

API Key (provided by PlayHQ)

x-phq-tenant
required
string

PlayHQ Tenant ID (e.g. bv, afl)

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "metadata": {
    }
}

Fixture for grade V2

Retrieve a list of games and related fixture information under a specified grade.

path Parameters
id
required
string

ID of the grade

header Parameters
x-api-key
required
string

API Key (provided by PlayHQ)

x-phq-tenant
required
string

PlayHQ Tenant ID (e.g. bv, afl)

Responses

Response samples

Content type
application/json
{
  • "rounds": [
    ],
  • "teams": [
    ],
  • "playingSurfaces": [
    ]
}

Ladder for grade

Retrieve a list of ladder related information per specified grade. Please note, this API version has been deprecated and is not applicable to Cricket. Please refer to the v2 of this API.

path Parameters
id
required
string

ID of the grade

header Parameters
x-api-key
required
string

API Key (provided by PlayHQ)

x-phq-tenant
required
string

PlayHQ Tenant ID (e.g. bv, afl)

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Ladder for grade V2

Retrieve a list of ladder related information per specified grade.

path Parameters
id
required
string

ID of the grade

header Parameters
x-api-key
required
string

API Key (provided by PlayHQ)

x-phq-tenant
required
string

PlayHQ Tenant ID (e.g. bv, afl)

Responses

Response samples

Content type
application/json
{
  • "gradeId": "33063bcc-f45e-4cba-afce-de43bec58165",
  • "ladders": [
    ]
}

Player Stats by Grade V1

Retrieve a list of player statistics under a specified grade. Please note, this API is not applicable to Cricket at present.

path Parameters
id
required
string

ID of the grade

query Parameters
sort
string
Enum: "10_POINT_SCORE" "1_POINT_SCORE" "2_POINT_SCORE" "3_POINT_SCORE" "6_POINT_SCORE" "9_POINT_SCORE" "APPEARANCE" "BENCH_TECHNICAL_FOUL" "BEST_PLAYER" "DISQUALIFYING_FOUL" "GOAL_COUNT" "PERSONAL_FOUL" "RED_CARD" "TECHNICAL_FOUL" "TOTAL_BEHINDS" "TOTAL_FOULS" "TOTAL_GOALS" "TOTAL_SCORE" "UNSPORTSMANLIKE_FOUL" "YELLOW_CARD"

Statstic by which players will be sorted (descending)

limit
string

Number of players to be returned

cursor
string

Optional. If a response has metadata.hasMore == true, set this parameter to metadata.nextCursor to request the next page of results.

header Parameters
x-api-key
required
string

API Key (provided by PlayHQ)

x-phq-tenant
required
string

PlayHQ Tenant ID (e.g. bv, afl)

Responses

Response samples

Content type
application/json
{
  • "data": {
    },
  • "metadata": {
    }
}

Grade Created Webhook

Information about a Grade Created

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "GRADE.CREATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "25f417b8-7d85-483c-b6b4-a161f16eadac",
  • "eventType": "GRADE.CREATED",
  • "entityId": "6767511a-e330-48a9-9b5b-3b519907c674",
  • "eventRaisedDateTime": "2022-04-29T09:03:28.700Z",
  • "data": {
    }
}

Grade Updated Webhook

Information about a Grade Updated

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "GRADE.UPDATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "824a60b7-0d9d-4d5a-852a-bbec094f0983",
  • "eventType": "GRADE.UPDATED",
  • "entityId": "732d1698-07de-4759-b1c3-f81716c0a39a",
  • "eventRaisedDateTime": "2022-04-29T00:55:23.948Z",
  • "data": {
    }
}

Grade Deleted Webhook

Information about a Grade Deleted

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "GRADE.DELETED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "e50b0893-f1f6-41e9-9ee5-19d6b51981cb",
  • "entityId": "a77bee3c-30f2-11ec-8d3d-0242ac130003",
  • "eventRaisedDateTime": "2021-04-13T07:52:58.650Z",
  • "eventType": "GRADE.DELETED",
  • "data": {
    }
}

Grade Fixture Created Webhook

Information about a Grade Fixture Created

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "GRADE_FIXTURE.CREATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "639b0ca4-8c9d-4268-a74a-fc5bfb464654",
  • "eventType": "GRADE_FIXTURE.CREATED",
  • "entityId": "5b598b88-f1e1-44b1-a98e-0f6bba1dd1f0",
  • "eventRaisedDateTime": "2022-05-19T11:38:25.123Z",
  • "data": {
    }
}

Grade Fixture Updated Webhook

Information about a Grade Fixture Updated

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "GRADE_FIXTURE.UPDATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "d1d069ea-24c7-4f39-9cb9-6708dd705fb6",
  • "eventType": "GRADE_FIXTURE.UPDATED",
  • "entityId": "5b598b88-f1e1-44b1-a98e-0f6bba1dd1f0",
  • "eventRaisedDateTime": "2022-05-19T11:38:25.675Z",
  • "data": {
    }
}

Grade Fixture Deleted Webhook

Information about a Grade Fixture Deleted

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "GRADE_FIXTURE.DELETED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "970ca865-dbb1-4bb4-b217-8bf7288b3b30",
  • "eventType": "GRADE_FIXTURE.DELETED",
  • "entityId": "5b598b88-f1e1-44b1-a98e-0f6bba1dd1f0",
  • "eventRaisedDateTime": "2022-05-19T11:40:38.943Z",
  • "data": {
    }
}

Games

Lists all games

Please note, this API is deprecated and will be decommissioned in the near future.

query Parameters
page
number >= 0
Default: 1

Page Number to fetch data - the maximum value of this parameter will be equal to the totalPages in response metadata

limit
number [ 1 .. 100 ]
Default: 10

Number of objects per page to return

changedSince
string

Date in ISO 8601 format to fetch updates since

header Parameters
Authorization
required
string

Bearer {JWT_Auth_Token}

Responses

Response samples

Content type
application/json
{
  • "data": {
    },
  • "metadata": {
    }
}

Summary for game (Private)

Game Summary detail for specified game available both pre and post game including participant line up information and statistics. Please note, this API is not applicable to Cricket. This API is organisation scoped, if you request a game that you do not have access to then you will receive a 403.

path Parameters
id
required
string

ID of the game

header Parameters
Authorization
required
string

Bearer {JWT_Auth_Token}

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Summary for game (Public)

Game Summary detail for specified game available both pre and post game including participant line up information and statistics, fulfilling visibility settings on PlayHQ.com. Please note, this API is not applicable to Cricket.

path Parameters
id
required
string

ID of the game

query Parameters
cursor
string

Optional. If a response has metadata.hasMore == true, set this parameter to metadata.nextCursor to request the next page of results.

header Parameters
x-api-key
required
string

API Key (provided by PlayHQ)

x-phq-tenant
required
string

PlayHQ Tenant ID (e.g. bv, afl)

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Summary for game V2 (Public)

Game Summary detail for specified game available both pre and post game including participant line up information and statistics, fulfilling visibility settings on PlayHQ.com. Please note, This API is not fully applicable to all territory sports, refer to v1 Public Game Summary for territory based sports such as AFL or Basketball.

path Parameters
id
required
string

ID of the game

query Parameters
cursor
string

Optional. If a response has metadata.hasMore == true, set this parameter to metadata.nextCursor to request the next page of results.

header Parameters
x-api-key
required
string

API Key (provided by PlayHQ)

x-phq-tenant
required
string

PlayHQ Tenant ID (e.g. ca)

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Game Events (Private)

The Game Events API provides game events captured during a game scored on PlayHQ’s Electronic Scoring Platform. Please note, this API is not applicable to Cricket at present.

path Parameters
id
string

ID of the game

header Parameters
Authorization
required
string

Bearer {JWT_Auth_Token}

Responses

Response samples

Content type
application/json
{
  • "data": {
    }
}

Live-streaming Enabled (Private)

Update live-streaming enabled for specified game. Please note, this API is applicable to Cricket.

path Parameters
id
required
string

ID of the game

header Parameters
Authorization
required
string

Bearer {JWT_Auth_Token}

Request Body schema: application/json
liveStreamingEnabled
boolean

Boolean value to indicate if the game is enabled for livestreaming

Responses

Request samples

Content type
application/json
{
  • "liveStreamingEnabled": true
}

Response samples

Content type
application/json
{
  • "data": {
    }
}

Games for organisation

Games fixture and associated game information under a specified organisation on a given day.

path Parameters
id
required
string

ID of the organisation

date
required
string

Date of the game

query Parameters
cursor
string

Optional. If a response has metadata.hasMore == true, set this parameter to metadata.nextCursor to request the next page of results.

header Parameters
Authorization
required
string

Bearer {JWT_Auth_Token}

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "metadata": {
    }
}

Game Updated Webhook

Game Summary webhook capturing real time updates pre and post game including participant & team line up information, statistics and schedule.

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

Array of objects

For subscribers which have filters enabled, this array contains the ids of entities which passed those filters and allowed the entity to be dispatched.

eventType
string
Value: "GAME.UPDATED"
object

Responses

Request samples

Content type
application/json
Example
{
  • "messageId": "cf3c1bf7-1e2f-49d7-9e8a-dd252f773498",
  • "eventType": "GAME.UPDATED",
  • "entityId": "559afa9c-3f5e-4212-a26f-5bf8567b1778",
  • "eventRaisedDateTime": "2023-10-22T23:38:44.673Z",
  • "data": {
    }
}

Game Deleted Webhook

Game Summary webhook capturing real time updates pre and post game including participant & team line up information, statistics and schedule. This webhook is only applicable to Cricket at present.

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

Array of objects

For subscribers which have filters enabled, this array contains the ids of entities which passed those filters and allowed the entity to be dispatched.

eventType
string
Value: "GAME.DELETED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "e50b0893-f1f6-41e9-9ee5-19d6b51981cb",
  • "entityId": "a77bee3c-30f2-11ec-8d3d-0242ac130003",
  • "eventRaisedDateTime": "2022-04-06T09:23:23.054Z",
  • "eventType": "GAME.DELETED",
  • "data": {
    }
}

Live Game Scorecard Updated Webhook

Live Game Scorecard webhook captures the full scorecard for a game, triggered at various intervals during a live scored game.

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

Array of objects

For subscribers which have filters enabled, this array contains the ids of entities which passed those filters and allowed the entity to be dispatched.

eventType
string
Value: "LIVE_GAME.SCORECARD_UPDATED"
object

Responses

Request samples

Content type
application/json
Example
{
  • "messageId": "16f8b088-4269-480a-bbaf-94d84b075bd1",
  • "eventType": "LIVE_GAME.SCORECARD_UPDATED",
  • "entityId": "7fc2a5be-6590-4c0c-9336-d59b53d33c08",
  • "eventRaisedDateTime": "2023-07-31T02:20:04.416Z",
  • "data": {
    }
}

Live Game Score Event Webhook

This event is only applicable to Cricket and is now deprecated, please refer to LIVE_GAME.EVENT. Please note, although this event is now deprecated, it will be kept up to date for future enhancements.

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

Array of objects

For subscribers which have filters enabled, this array contains the ids of entities which passed those filters and allowed the entity to be dispatched.

eventType
string
Value: "LIVE_GAME.SCORE_EVENT"
object

Responses

Request samples

Content type
application/json
Example
{
  • "messageId": "e96df3a8-88e2-4254-b323-70a2b4f3bbb1",
  • "eventType": "LIVE_GAME.SCORE_EVENT",
  • "entityId": "59382773-98b5-407f-96dd-e6a65f2b9241",
  • "eventRaisedDateTime": "2022-09-21T15:51:49.866Z",
  • "data": {
    }
}

Live Game Event Webhook

The Live Game Event webhook captures real-time statistic events, e.g. score/ball/foul/card, game time related events, e.g. start period/break/clock, and DLS adjustments during a live scored game. The statistic related events also provide the progressive score for the innings/game as a result of the statistic event. The following statistic related events are NOT included in this event: Cards/Fouls recorded against a team and any statistics entered against a coach role type. Please note, this event is applicable to all sports.

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

Array of objects

For subscribers which have filters enabled, this array contains the ids of entities which passed those filters and allowed the entity to be dispatched.

eventType
string
Value: "LIVE_GAME.EVENT"
object

Responses

Request samples

Content type
application/json
Example
{
  • "messageId": "e96df3a8-88e2-4254-b323-70a2b4f3bbb1",
  • "eventType": "LIVE_GAME.EVENT",
  • "entityId": "59382773-98b5-407f-96dd-e6a65f2b9241",
  • "eventRaisedDateTime": "2022-09-21T15:51:49.866Z",
  • "data": {
    }
}

Live Game Event Undo Webhook

The Live Game Event Undo Webhook captures undo events or events that have been removed during a live scoring game.

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

Array of objects

For subscribers which have filters enabled, this array contains the ids of entities which passed those filters and allowed the entity to be dispatched.

eventType
string
Value: "LIVE_GAME.EVENT_UNDO"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "f3fa5953-d0bd-4d7e-bbba-851300f006ad",
  • "eventType": "LIVE_GAME.EVENT_UNDO",
  • "entityId": "3b7fbbfb-8abd-479d-a31e-9db44514026d",
  • "eventRaisedDateTime": "2022-06-28T00:39:32.493Z",
  • "data": {
    }
}

Live Game Detail Updated Webhook

Live Game Detail webhook captures updates to the toss and/or lineup for a live scoring game. This will always be the first event for a live scored game and will also trigger at the start of each period and for any changes to the lineup.

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

Array of objects

For subscribers which have filters enabled, this array contains the ids of entities which passed those filters and allowed the entity to be dispatched.

eventType
string
Value: "LIVE_GAME.DETAIL_UPDATED"
object

Responses

Request samples

Content type
application/json
Example
{
  • "messageId": "12d5f1f1-49ea-422c-bfb0-33a8eb3f2e38",
  • "eventType": "LIVE_GAME.DETAIL_UPDATED",
  • "entityId": "dd5cdf44-3fa3-4885-bc7f-79edade26124",
  • "eventRaisedDateTime": "2022-06-29T19:26:22.546Z",
  • "data": {
    }
}

Live Game Reset Webhook

Live Game Reset webhook captures real-time game reset event during for a live scoring game.

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

Array of objects

For subscribers which have filters enabled, this array contains the ids of entities which passed those filters and allowed the entity to be dispatched.

eventType
string
Value: "LIVE_GAME.RESET"
object

Request samples

Content type
application/json
{
  • "data": {
    }
}

Programs

Program Created Webhook

Information about a new program created

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "PROGRAM.CREATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "0eb00157-4a31-4bcb-8dc9-29081bfeab6c",
  • "eventType": "PROGRAM.CREATED",
  • "entityId": "0bbc7c2b-8ebe-4730-8c00-936f1e66d54f",
  • "eventRaisedDateTime": "2021-03-15T11:24:50.740Z",
  • "data": {
    }
}

Program Updated Webhook

Information about a program updated

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "PROGRAM.UPDATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "84f1d53b-bcea-4505-b2cb-b89fc9dbb522",
  • "eventType": "PROGRAM.UPDATED",
  • "entityId": "0bbc7c2b-8ebe-4730-8c00-936f1e66d54f",
  • "eventRaisedDateTime": "2021-03-15T11:25:14.768Z",
  • "data": {
    }
}

Program Deleted Webhook

Information about a program deleted

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "PROGRAM.DELETED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "591073c3-97c9-4cc3-9cfa-dcd0c00e6a1b",
  • "eventType": "PROGRAM.DELETED",
  • "entityId": "0bbc7c2b-8ebe-4730-8c00-936f1e66d54f",
  • "eventRaisedDateTime": "2021-03-15T11:25:30.080Z",
  • "data": {
    }
}

Program Alias Names Updated Webhook

Information about a Program Alias Names Updated

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "PROGRAM_ALIAS.UPDATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "c5a41d6a-162e-41a4-bfbb-e24d18c4ce7b",
  • "eventType": "PROGRAM_ALIAS.UPDATED",
  • "entityId": "05e7bda6-779a-4bf8-84fb-d8500a69c90f",
  • "eventRaisedDateTime": "2021-03-23T00:10:32.959Z",
  • "data": {
    }
}

Program Seasons

Program Season Created Webhook

Information about a new program season created

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "PROGRAM_SEASON.CREATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "96f3c7d0-1e26-4362-ac6c-2004fc239cc6",
  • "eventType": "PROGRAM_SEASON.CREATED",
  • "entityId": "068a62e8-cf9d-470f-b2f2-b08eac8c352e",
  • "eventRaisedDateTime": "2021-03-22T23:43:08.407Z",
  • "data": {
    }
}

Program Season Updated Webhook

Information about a new program season updated

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "PROGRAM_SEASON.UPDATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "96f3c7d0-1e26-4362-ac6c-2004fc239cc6",
  • "eventType": "PROGRAM_SEASON.CREATED",
  • "entityId": "068a62e8-cf9d-470f-b2f2-b08eac8c352e",
  • "eventRaisedDateTime": "2021-03-22T23:43:08.407Z",
  • "data": {
    }
}

Program Season Deleted Webhook

Information about a program season deleted

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "PROGRAM_SEASON.DELETED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "faceaee0-1236-46d1-8985-28c36e779bc4",
  • "eventType": "PROGRAM_SEASON.DELETED",
  • "entityId": "068a62e8-cf9d-470f-b2f2-b08eac8c352e",
  • "eventRaisedDateTime": "2021-03-22T23:51:16.000Z",
  • "data": {
    }
}

Local Program Season Organisation Participated Webhook

Information about a Local Program Season Organisation Participated

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "LOCAL_PROGRAM_SEASON.ORGANISATION_PARTICIPATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "c15dbe5f-993b-4043-837c-4fda369508b8",
  • "eventType": "LOCAL_PROGRAM_SEASON.ORGANISATION_PARTICIPATED",
  • "entityId": "b6911d25-ed46-4ccd-b225-36d41cb9ebe7",
  • "eventRaisedDateTime": "2022-09-09T16:20:09.598Z",
  • "data": {
    }
}

Local Program Season Date Updated Webhook

Information about a Local Program Season Date Updated

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "LOCAL_PROGRAM_SEASON.DATE_UPDATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "d83a502f-e526-42d4-afaf-ae886990d0d4",
  • "eventType": "LOCAL_PROGRAM_SEASON.DATE_UPDATED",
  • "entityId": "b6911d25-ed46-4ccd-b225-36d41cb9ebe7",
  • "eventRaisedDateTime": "2022-09-11T19:44:22.212Z",
  • "data": {
    }
}

Shared Program Season Date Updated Webhook

Information about a Shared Program Season Date Updated

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "SHARED_PROGRAM_SEASON.DATE_UPDATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "74670b3d-e581-4e9a-b91b-5eb7adc1ab30",
  • "eventType": "SHARED_PROGRAM_SEASON.DATE_UPDATED",
  • "entityId": "db652b97-4c97-4949-a919-515a37926f97",
  • "eventRaisedDateTime": "2022-09-11T19:39:30.638Z",
  • "data": {
    }
}

Shared Program Season Shared Status On Webhook

Information about a Shared Program Season Shared Status On

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "SHARED_PROGRAM_SEASON.SHARE_STATUS_ON"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "60329482-363b-4122-b871-0946d0c3f7d8",
  • "eventType": "SHARED_PROGRAM_SEASON.SHARE_STATUS_ON",
  • "entityId": "e0c27342-4c64-48b0-b21c-75e365975199",
  • "eventRaisedDateTime": "2022-09-09T16:14:14.050Z",
  • "data": {
    }
}

Shared Program Season Shared Status Off Webhook

Information about a Shared Program Season Shared Status Off

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "SHARED_PROGRAM_SEASON.SHARE_STATUS_OFF"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "a04e1c31-b628-44be-b80f-f87c1502feea",
  • "eventType": "SHARED_PROGRAM_SEASON.SHARE_STATUS_OFF",
  • "entityId": "e0c27342-4c64-48b0-b21c-75e365975199",
  • "eventRaisedDateTime": "2022-09-09T16:16:51.523Z",
  • "data": {
    }
}

Program Season Groups

Program Season Group Created Webhook

Information about a new program season group created

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "PROGRAM_SEASON_GROUP.CREATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "50f0dbaa-dd16-45d6-9646-29cf4530d404",
  • "eventType": "PROGRAM_SEASON_GROUP.CREATED",
  • "entityId": "48af5aa9-886e-4da9-95e3-98172c75477b",
  • "eventRaisedDateTime": "2021-03-22T23:55:31.034Z",
  • "data": {
    }
}

Program Season Group Updated Webhook

Information about a new program season group updated

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "PROGRAM_SEASON_GROUP.UPDATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "50f0dbaa-dd16-45d6-9646-29cf4530d404",
  • "eventType": "PROGRAM_SEASON_GROUP.CREATED",
  • "entityId": "48af5aa9-886e-4da9-95e3-98172c75477b",
  • "eventRaisedDateTime": "2021-03-22T23:55:31.034Z",
  • "data": {
    }
}

Program Season Group Deleted Webhook

Information about a program season group deleted

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "PROGRAM_SEASON_GROUP.DELETED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "1f95fcc3-0791-476c-bbdb-d5d0e93a99e6",
  • "eventType": "PROGRAM_SEASON_GROUP.DELETED",
  • "entityId": "48af5aa9-886e-4da9-95e3-98172c75477b",
  • "eventRaisedDateTime": "2021-03-22T23:58:16.400Z",
  • "data": {
    }
}

Program Season Registration Forms

Program Season Registration Form Created Webhook

Information about a Program Season Registration Form Created

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "PROGRAM_SEASON_REGISTRATION_FORM.CREATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "e5cf65b0-0127-4ecc-be63-83496a095b3a",
  • "eventType": "PROGRAM_SEASON_REGISTRATION_FORM.CREATED",
  • "entityId": "71909875-f2e0-4b08-91a0-ad0611c9dd3e",
  • "eventRaisedDateTime": "2021-03-23T00:01:20.868Z",
  • "data": {
    }
}

Program Season Registration Form Updated Webhook

Information about a Program Season Registration Form Updated

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "PROGRAM_SEASON_REGISTRATION_FORM.UPDATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "e5cf65b0-0127-4ecc-be63-83496a095b3a",
  • "eventType": "PROGRAM_SEASON_REGISTRATION_FORM.CREATED",
  • "entityId": "71909875-f2e0-4b08-91a0-ad0611c9dd3e",
  • "eventRaisedDateTime": "2021-03-23T00:01:20.868Z",
  • "data": {
    }
}

Program Season Registrations

Shared Program Registrations Webhook

Information about a Shared Program Registrations

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "SHARED_PROGRAM_REGISTRATION.CREATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "e50b0893-f1f6-41e9-9ee5-19d6b51981cb",
  • "entityId": "a77bee3c-30f2-11ec-8d3d-0242ac130003",
  • "eventRaisedDateTime": "string",
  • "eventType": "SHARED_PROGRAM_REGISTRATION.CREATED",
  • "data": {
    }
}

Profiles

Lists profile’s dependants (Private)

Retrieve basic dependant details related to a submitted profileId. Only dependants that have previously registered to participate in the tenant you have access to will be returned.

path Parameters
id
required
string

ID of the profile

header Parameters
Authorization
required
string

Bearer {JWT_Auth_Token}

Responses

Response samples

Content type
application/json
{
  • "dependants": [
    ]
}

Career statistics for profile (Private)

The Career Stats API will return the profile's complete Career Stats record for a specified PlayHQ profile ID and role in a tenant(s).

path Parameters
id
required
string

ID of the profile

query Parameters
role
enum
Enum: "PLAYER" "COACH" "TEAM_MANAGER" "ASSISTANT_COACH" "VOLUNTEER" "OFFICIAL" "MEDICAL_OFFICER"

Participant role

header Parameters
Authorization
required
string

Bearer {JWT_Auth_Token}

Responses

Response samples

Content type
application/json
{
  • "totals": [
    ],
  • "clubStatistics": [
    ]
}

Seasons with statistics for profile (Private)

The Season Stats API will return season information for those season in which a specified PlayHQ profile ID earned stats within a tenant.

path Parameters
id
required
string

ID of the profile

query Parameters
role
enum
Enum: "PLAYER" "COACH" "TEAM_MANAGER" "ASSISTANT_COACH" "VOLUNTEER" "OFFICIAL" "MEDICAL_OFFICER"

Participant role

header Parameters
Authorization
required
string

Bearer {JWT_Auth_Token}

Responses

Response samples

Content type
application/json
{
  • "seasons": [
    ]
}

Season statistics for profile (Private)

The season stats API will return a profile's complete Season Stats record for a specified PlayHQ profile ID, seasonId and role in a tenant(s).

path Parameters
id
required
string

ID of the profile

query Parameters
role
enum
Enum: "PLAYER" "COACH" "TEAM_MANAGER" "ASSISTANT_COACH" "VOLUNTEER" "OFFICIAL" "MEDICAL_OFFICER"

Participant role

header Parameters
Authorization
required
string

Bearer {JWT_Auth_Token}

Responses

Response samples

Content type
application/json
{
  • "season": {
    },
  • "role": "PLAYER",
  • "club": {
    },
  • "competition": {
    },
  • "association": null,
  • "statistics": [
    ],
  • "teamStatistics": [
    ]
}

Profile Updated Webhook

The following page outlines the triggers and data that will be included in the Profile webhook. Profiles will be sent to a tenant where they have registrations to the tenant or they have linked to the tenant’s external account.

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "PROFILE.UPDATED"
object
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "f804f035-4423-4fa0-b19e-60ff087c2544",
  • "entityType": "PROFILE",
  • "eventType": "PROFILE.UPDATED",
  • "entityId": "d00fa69c-60ad-435d-b5fe-3f3528d2edea",
  • "subscriberId": null,
  • "subscriberUrl": null,
  • "eventRaisedDateTime": "2022-04-12T23:22:25.681Z",
  • "headers": null,
  • "payload": {
    },
  • "payloadSignature": "034140e7ed594404ca8819ef3420fd32095e6aa60497f3e25249712dcdd9087b"
}

Profile Claimed Webhook

Information about an exisiting profile which has been archived as a result of a profile claim.

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

eventType
string
Value: "PROFILE.CLAIMED"
object

Responses

Request samples

Content type
application/json
{
  • "data": {
    }
}

Admins

Admin Invited Webhook

The admin invited webhook captures information about when an admin is invited to a given organisation. A filter has been established so that a consumer can filter for specific admin role types. Please note, an admin profile can have a role at multiple organisations at any point in time.

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

Array of objects

For subscribers which have filters enabled, this array contains the ids of entities which passed those filters and allowed the entity to be dispatched.

eventType
string
Value: "ADMIN.INVITED"
object

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Admin Revoked Webhook

The admin revoked webhook captures information about when an admin’s role is revoked for a given organisation. A filter has been established so that a consumer can filter for specific admin role types.

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

Array of objects

For subscribers which have filters enabled, this array contains the ids of entities which passed those filters and allowed the entity to be dispatched.

eventType
string
Value: "ADMIN.REVOKED"
object

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Venues

Lists all venues

Please note, this API is deprecated and will be decommissioned in the near future.

query Parameters
page
number >= 0
Default: 1

Page Number to fetch data - the maximum value of this parameter will be equal to the totalPages in response metadata

limit
number [ 1 .. 100 ]
Default: 10

Number of objects per page to return

changedSince
string

Date in ISO 8601 format to fetch updates since

header Parameters
Authorization
required
string

Bearer {JWT_Auth_Token}

Responses

Response samples

Content type
application/json
{
  • "data": {
    },
  • "metadata": {
    }
}

Orders

Order Created Webhook

The Order webhook captures information about orders created during registration. A filter has been established so that a consumer can filter for orders containing products to be delivered by a fulfilment provider.

header Parameters
signature
string
Example: c39b429c743877c0c2954800d431713741e6ddd2cfb2f103d431b3c02290a82a

Signature formed using SHA-256 hex encoding of request body and sent with respective webhook for verification purpose

Request Body schema: application/json
messageId
string

The unique identifier for the event message

entityId
string

The unique identifier for the record

eventRaisedDateTime
string

The time the event occurred, as an ISO 8601 string

Array of objects

For subscribers which have filters enabled, this array contains the ids of entities which passed those filters and allowed the entity to be dispatched.

eventType
string
Value: "ORDER.CREATED"
object

Responses

Request samples

Content type
application/json
{
  • "messageId": "e68b683a-63cd-4378-b678-38ebef1664b7",
  • "eventType": "ORDER.CREATED",
  • "entityId": "66bdd68e-f73c-11ea-adc1-0242ac129999",
  • "eventRaisedDateTime": "2023-01-01T12:00:00.001Z",
  • "data": {
    }
}

API Auth Token

Generate auth token

Provides a jwt token in an object to be used for all requests to the api

Request Body schema: application/json

A json object containing Client ID and Client Secret

clientId
required
string
clientSecret
required
string

Responses

Request samples

Content type
application/json
{
  • "clientId": "YOUR_CLIENT_ID_HERE",
  • "clientSecret": "YOUR_CLIENT_SECRET_HERE"
}

Response samples

Content type
application/json
{
  • "access_token": "ACCESS_TOKEN_HERE",
  • "exp": 1588214707
}

Game Payment Contract

Game payment contract for organisation

Register or de-register a game payment contract for an organisation.

path Parameters
id
required
string

ID of the organisation

header Parameters
Authorization
required
string

Bearer {JWT_Auth_Token}

Request Body schema: application/json
status
enum
Enum: "ACTIVE" "INACTIVE"

Status value to indicate if the game payment contract is active or inactive

Responses

Request samples

Content type
application/json
{
  • "status": "ACTIVE"
}

Response samples

Content type
application/json
null