# Open test, int and API documentation

**URL:** <https://developer.community.nhs.uk/t/open-test-int-and-api-documentation/556>\
**Category:** Message Exchange for Social Care and Health (MESH)\
**Tags:** testing, onboarding\
**Created:** [22 November 2023 08:18 UTC](https://developer.community.nhs.uk/t/open-test-int-and-api-documentation/556 "2023-11-22T08:18:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevin.mayfield1](https://dub1.discourse-cdn.com/nhsdigitaldeveloper/user_avatar/developer.community.nhs.uk/kevin.mayfield1/32/93_2.png) [@kevin.mayfield1](https://developer.community.nhs.uk/u/kevin.mayfield1)\
**Post date:** [22 November 2023 08:18 UTC](https://developer.community.nhs.uk/t/open-test-int-and-api-documentation/556/1 "2023-11-22T08:18:53Z")

</div>

I’m working on onboarding our system to use MESH.

We had previously developed this using open test and had two mailbox’s for testing. I’ve noticed some of the API’s don’t match the documentation on the API catalogue.

E.g. [Message Exchange for Social Care and Health (MESH) API - NHS Digital](https://digital.nhs.uk/developer/api-catalogue/message-exchange-for-social-care-and-health-api#head-/messageexchange/-mailbox_id-/inbox/-message_id-)

`HEAD /messageexchange/{mailbox_id}/inbox/{message_id}`

This gives me a 403, this might be an error in my code but possibly opentest environment is different.

Also this endpont doesn’t return any data

> **[Message Exchange for Social Care and Health (MESH) API - NHS Digital](https://digital.nhs.uk/developer/api-catalogue/message-exchange-for-social-care-and-health-api#get-/messageexchange/workflowsearch/-workflow_id-)**
>
> Use this API to securely transfer healthcare data between organisations using the Message Exchange for Social Care and Health (MESH), which is a component of Spine. You can interact with MESH via a virtual mailbox, only accessible by...

`GET /messageexchange/workflowsearch/{workflow_id}`

This might be I’m using wrong values but the related endpoint does respond with an empty payload

`GET /messageexchange/endpointlookup/{ods_code}/{workflow_id}`

---

<div class="post-metadata">

**Author:** ![kevin.mayfield1](https://dub1.discourse-cdn.com/nhsdigitaldeveloper/user_avatar/developer.community.nhs.uk/kevin.mayfield1/32/93_2.png) [@kevin.mayfield1](https://developer.community.nhs.uk/u/kevin.mayfield1)\
**Post date:** [22 November 2023 08:20 UTC](https://developer.community.nhs.uk/t/open-test-int-and-api-documentation/556/2 "2023-11-22T08:20:07Z")

</div>

I’m assuming these will work on INT but ideally I’d like to double check this before moving to that environment.

---

<div class="post-metadata">

**Author:** ![matt.mercer](https://avatars.discourse-cdn.com/v4/letter/m/f14d63/32.png) [@matt.mercer](https://developer.community.nhs.uk/u/matt.mercer)\
**Post date:** [22 November 2023 14:31 UTC](https://developer.community.nhs.uk/t/open-test-int-and-api-documentation/556/3 "2023-11-22T14:31:47Z")

</div>

> [@kevin.mayfield1](#):
>
> ously developed this using open test and had two mailbox’s for testing. I’ve noticed some of the API’s don’t match the documentation on the API catalogue.

Hi @kevin.mayfield1 the opentest environment is out of date, I would not reccomend developing against there, I would suggest you should start with the MESH Sandbox [GitHub - NHSDigital/mesh-sandbox: a sandbox for mesh testing](https://github.com/NHSDigital/mesh-sandbox)  
Also for an up to date reference implementation, see the MESH python client [GitHub - NHSDigital/mesh-client: A Python client library for NHS Digital MESH](https://github.com/NHSDigital/mesh-client) which is maintained by the MESH team. If you’re in AWS … you may also want to consider [GitHub - NHSDigital/terraform-aws-mesh-client: Reference implementation of a MESH Client in an AWS environment only using serverless technologies.](https://github.com/NHSDigital/terraform-aws-mesh-client)

Matt

---

<div class="post-metadata">

**Author:** ![kevin.mayfield1](https://dub1.discourse-cdn.com/nhsdigitaldeveloper/user_avatar/developer.community.nhs.uk/kevin.mayfield1/32/93_2.png) [@kevin.mayfield1](https://developer.community.nhs.uk/u/kevin.mayfield1)\
**Post date:** [23 November 2023 20:10 UTC](https://developer.community.nhs.uk/t/open-test-int-and-api-documentation/556/4 "2023-11-23T20:10:24Z")

</div>

Thanks Matt.

We’ve done 90% of the development and will probably just connect our dev environment to INT to match our PDS api.
