Skip to main contentSkip to navigationSkip to search
Skip to main content
Learning Hub/Explorer
Search...K

2.2.1

Back

Credentials

Overview

Credentials handle platform registration and authentication. When two parties connect for the first time, they exchange credentials to establish mutual trust and share endpoint URLs.

Who sends

Both parties (mutual exchange)

Who receives

Both parties (mutual exchange)

Key Fields
FieldTypeDescription

token

CiString(64)

Authentication token for API access

url

URL

Versions endpoint URL of the platform

roles

CredentialsRole[]

Roles the platform fulfills (CPO, EMSP, HUB)

party_id

CiString(3)

Three-letter party identifier

country_code

CiString(2)

ISO 3166-1 alpha-2 country code

Endpoints
GET

/ocpi/2.2.1/credentials/

POST

/ocpi/2.2.1/credentials/

PUT

/ocpi/2.2.1/credentials/

Live Endpoint Tester

Send requests directly to the local backend and see the response.

Built by

SynergyBoat

·

© 2026
Skip to main content