> For the complete documentation index, see [llms.txt](https://dev.ishare.eu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.ishare.eu/version-2.1/service-provider-role/getting-started/service.md).

# Service

This page contains an example implementation for a REST endpoint of a Service Provider, using the token obtained from the iSHARE [/token](/version-2.1/all-roles-common-endpoints/access-token-m2m.md) endpoint and the delegation evidence obtained from the [/delegation](/version-2.1/authorisation-registry-role/delegation-endpoint.md) endpoint.

{% openapi src="<https://raw.githubusercontent.com/iSHAREScheme/openapi/v2.1/ishare_openapi_spec.yaml>" path="/service" method="get" %}
<https://raw.githubusercontent.com/iSHAREScheme/openapi/v2.1/ishare_openapi_spec.yaml>
{% endopenapi %}
